home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
100%
| dexvert
| Internet Message Format (text/imf)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| Mailbox text, 1st line "From tgl@netcom.com Thu May 4 18:24:08 1995", ASCII text
| default
| |
100%
| TrID
| E-Mail message (Var. 2)
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| x-fmt/111 Plain Text File
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| application/mbox
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 46 72 6f 6d 20 74 67 6c | 40 6e 65 74 63 6f 6d 2e |From tgl|@netcom.|
|00000010| 63 6f 6d 20 54 68 75 20 | 4d 61 79 20 20 34 20 31 |com Thu |May 4 1|
|00000020| 38 3a 32 34 3a 30 38 20 | 31 39 39 35 0a 4e 65 77 |8:24:08 |1995.New|
|00000030| 73 67 72 6f 75 70 73 3a | 20 63 6f 6d 70 2e 67 72 |sgroups:| comp.gr|
|00000040| 61 70 68 69 63 73 2c 61 | 6c 74 2e 67 72 61 70 68 |aphics,a|lt.graph|
|00000050| 69 63 73 2e 70 69 78 75 | 74 69 6c 73 2c 61 6c 74 |ics.pixu|tils,alt|
|00000060| 2e 62 69 6e 61 72 69 65 | 73 2e 70 69 63 74 75 72 |.binarie|s.pictur|
|00000070| 65 73 2e 75 74 69 6c 69 | 74 69 65 73 2c 61 6c 74 |es.utili|ties,alt|
|00000080| 2e 62 69 6e 61 72 69 65 | 73 2e 70 69 63 74 75 72 |.binarie|s.pictur|
|00000090| 65 73 2e 64 2c 61 6c 74 | 2e 62 69 6e 61 72 69 65 |es.d,alt|.binarie|
|000000a0| 73 2e 70 69 63 74 75 72 | 65 73 2e 65 72 6f 74 69 |s.pictur|es.eroti|
|000000b0| 63 61 2e 64 2c 63 6f 6d | 70 2e 61 6e 73 77 65 72 |ca.d,com|p.answer|
|000000c0| 73 2c 61 6c 74 2e 61 6e | 73 77 65 72 73 2c 6e 65 |s,alt.an|swers,ne|
|000000d0| 77 73 2e 61 6e 73 77 65 | 72 73 0a 46 72 6f 6d 3a |ws.answe|rs.From:|
|000000e0| 20 74 67 6c 40 6e 65 74 | 63 6f 6d 2e 63 6f 6d 20 | tgl@net|com.com |
|000000f0| 28 54 6f 6d 20 4c 61 6e | 65 29 0a 53 75 62 6a 65 |(Tom Lan|e).Subje|
|00000100| 63 74 3a 20 4a 50 45 47 | 20 69 6d 61 67 65 20 63 |ct: JPEG| image c|
|00000110| 6f 6d 70 72 65 73 73 69 | 6f 6e 20 46 41 51 2c 20 |ompressi|on FAQ, |
|00000120| 70 61 72 74 20 31 2f 32 | 0a 46 6f 6c 6c 6f 77 75 |part 1/2|.Followu|
|00000130| 70 2d 54 6f 3a 20 63 6f | 6d 70 2e 67 72 61 70 68 |p-To: co|mp.graph|
|00000140| 69 63 73 0a 53 75 6d 6d | 61 72 79 3a 20 47 65 6e |ics.Summ|ary: Gen|
|00000150| 65 72 61 6c 20 71 75 65 | 73 74 69 6f 6e 73 20 61 |eral que|stions a|
|00000160| 6e 64 20 61 6e 73 77 65 | 72 73 20 61 62 6f 75 74 |nd answe|rs about|
|00000170| 20 4a 50 45 47 0a 4b 65 | 79 77 6f 72 64 73 3a 20 | JPEG.Ke|ywords: |
|00000180| 4a 50 45 47 2c 20 69 6d | 61 67 65 20 63 6f 6d 70 |JPEG, im|age comp|
|00000190| 72 65 73 73 69 6f 6e 2c | 20 46 41 51 2c 20 4a 50 |ression,| FAQ, JP|
|000001a0| 47 2c 20 4a 46 49 46 0a | 53 75 70 65 72 73 65 64 |G, JFIF.|Supersed|
|000001b0| 65 73 3a 20 3c 6a 70 65 | 67 2d 66 61 71 2d 70 31 |es: <jpe|g-faq-p1|
|000001c0| 5f 37 39 38 30 37 37 37 | 36 31 40 6e 65 74 63 6f |_7980777|61@netco|
|000001d0| 6d 2e 63 6f 6d 3e 0a 52 | 65 70 6c 79 2d 54 6f 3a |m.com>.R|eply-To:|
|000001e0| 20 6a 70 65 67 2d 69 6e | 66 6f 40 75 75 6e 65 74 | jpeg-in|fo@uunet|
|000001f0| 2e 75 75 2e 6e 65 74 0a | 4f 72 67 61 6e 69 7a 61 |.uu.net.|Organiza|
|00000200| 74 69 6f 6e 3a 20 49 6e | 64 65 70 65 6e 64 65 6e |tion: In|dependen|
|00000210| 74 20 4a 50 45 47 20 47 | 72 6f 75 70 0a 44 61 74 |t JPEG G|roup.Dat|
|00000220| 65 3a 20 53 75 6e 2c 20 | 33 30 20 41 70 72 20 31 |e: Sun, |30 Apr 1|
|00000230| 39 39 35 20 30 35 3a 30 | 33 3a 30 30 20 47 4d 54 |995 05:0|3:00 GMT|
|00000240| 0a 0a 41 72 63 68 69 76 | 65 2d 6e 61 6d 65 3a 20 |..Archiv|e-name: |
|00000250| 6a 70 65 67 2d 66 61 71 | 2f 70 61 72 74 31 0a 50 |jpeg-faq|/part1.P|
|00000260| 6f 73 74 69 6e 67 2d 46 | 72 65 71 75 65 6e 63 79 |osting-F|requency|
|00000270| 3a 20 65 76 65 72 79 20 | 31 34 20 64 61 79 73 0a |: every |14 days.|
|00000280| 4c 61 73 74 2d 6d 6f 64 | 69 66 69 65 64 3a 20 32 |Last-mod|ified: 2|
|00000290| 39 20 41 70 72 69 6c 20 | 31 39 39 35 0a 0a 54 68 |9 April |1995..Th|
|000002a0| 69 73 20 61 72 74 69 63 | 6c 65 20 61 6e 73 77 65 |is artic|le answe|
|000002b0| 72 73 20 46 72 65 71 75 | 65 6e 74 6c 79 20 41 73 |rs Frequ|ently As|
|000002c0| 6b 65 64 20 51 75 65 73 | 74 69 6f 6e 73 20 61 62 |ked Ques|tions ab|
|000002d0| 6f 75 74 20 4a 50 45 47 | 20 69 6d 61 67 65 20 63 |out JPEG| image c|
|000002e0| 6f 6d 70 72 65 73 73 69 | 6f 6e 2e 0a 54 68 69 73 |ompressi|on..This|
|000002f0| 20 69 73 20 70 61 72 74 | 20 31 2c 20 63 6f 76 65 | is part| 1, cove|
|00000300| 72 69 6e 67 20 67 65 6e | 65 72 61 6c 20 71 75 65 |ring gen|eral que|
|00000310| 73 74 69 6f 6e 73 20 61 | 6e 64 20 61 6e 73 77 65 |stions a|nd answe|
|00000320| 72 73 20 61 62 6f 75 74 | 20 4a 50 45 47 2e 20 20 |rs about| JPEG. |
|00000330| 50 61 72 74 20 32 0a 67 | 69 76 65 73 20 73 79 73 |Part 2.g|ives sys|
|00000340| 74 65 6d 2d 73 70 65 63 | 69 66 69 63 20 68 69 6e |tem-spec|ific hin|
|00000350| 74 73 20 61 6e 64 20 70 | 72 6f 67 72 61 6d 20 72 |ts and p|rogram r|
|00000360| 65 63 6f 6d 6d 65 6e 64 | 61 74 69 6f 6e 73 2e 20 |ecommend|ations. |
|00000370| 20 41 73 20 61 6c 77 61 | 79 73 2c 0a 73 75 67 67 | As alwa|ys,.sugg|
|00000380| 65 73 74 69 6f 6e 73 20 | 66 6f 72 20 69 6d 70 72 |estions |for impr|
|00000390| 6f 76 65 6d 65 6e 74 20 | 6f 66 20 74 68 69 73 20 |ovement |of this |
|000003a0| 46 41 51 20 61 72 65 20 | 77 65 6c 63 6f 6d 65 2e |FAQ are |welcome.|
|000003b0| 0a 0a 4e 65 77 20 73 69 | 6e 63 65 20 76 65 72 73 |..New si|nce vers|
|000003c0| 69 6f 6e 20 6f 66 20 35 | 20 4d 61 72 63 68 20 31 |ion of 5| March 1|
|000003d0| 39 39 35 3a 0a 20 20 2a | 20 4d 69 6e 6f 72 20 63 |995:. *| Minor c|
|000003e0| 6f 72 72 65 63 74 69 6f | 6e 73 2e 0a 0a 0a 54 68 |orrectio|ns....Th|
|000003f0| 69 73 20 61 72 74 69 63 | 6c 65 20 69 6e 63 6c 75 |is artic|le inclu|
|00000400| 64 65 73 20 74 68 65 20 | 66 6f 6c 6c 6f 77 69 6e |des the |followin|
|00000410| 67 20 73 65 63 74 69 6f | 6e 73 3a 0a 0a 42 61 73 |g sectio|ns:..Bas|
|00000420| 69 63 20 71 75 65 73 74 | 69 6f 6e 73 3a 0a 0a 5b |ic quest|ions:..[|
|00000430| 31 5d 20 57 68 61 74 20 | 69 73 20 4a 50 45 47 3f |1] What |is JPEG?|
|00000440| 0a 5b 32 5d 20 57 68 79 | 20 75 73 65 20 4a 50 45 |.[2] Why| use JPE|
|00000450| 47 3f 0a 5b 33 5d 20 57 | 68 65 6e 20 73 68 6f 75 |G?.[3] W|hen shou|
|00000460| 6c 64 20 49 20 75 73 65 | 20 4a 50 45 47 2c 20 61 |ld I use| JPEG, a|
|00000470| 6e 64 20 77 68 65 6e 20 | 73 68 6f 75 6c 64 20 49 |nd when |should I|
|00000480| 20 73 74 69 63 6b 20 77 | 69 74 68 20 47 49 46 3f | stick w|ith GIF?|
|00000490| 0a 5b 34 5d 20 48 6f 77 | 20 77 65 6c 6c 20 64 6f |.[4] How| well do|
|000004a0| 65 73 20 4a 50 45 47 20 | 63 6f 6d 70 72 65 73 73 |es JPEG |compress|
|000004b0| 20 69 6d 61 67 65 73 3f | 0a 5b 35 5d 20 57 68 61 | images?|.[5] Wha|
|000004c0| 74 20 61 72 65 20 67 6f | 6f 64 20 22 71 75 61 6c |t are go|od "qual|
|000004d0| 69 74 79 22 20 73 65 74 | 74 69 6e 67 73 20 66 6f |ity" set|tings fo|
|000004e0| 72 20 4a 50 45 47 3f 0a | 5b 36 5d 20 57 68 65 72 |r JPEG?.|[6] Wher|
|000004f0| 65 20 63 61 6e 20 49 20 | 67 65 74 20 4a 50 45 47 |e can I |get JPEG|
|00000500| 20 73 6f 66 74 77 61 72 | 65 3f 0a 5b 37 5d 20 48 | softwar|e?.[7] H|
|00000510| 6f 77 20 64 6f 20 49 20 | 76 69 65 77 20 4a 50 45 |ow do I |view JPE|
|00000520| 47 20 69 6d 61 67 65 73 | 20 70 6f 73 74 65 64 20 |G images| posted |
|00000530| 6f 6e 20 55 73 65 6e 65 | 74 3f 0a 0a 4d 6f 72 65 |on Usene|t?..More|
|00000540| 20 61 64 76 61 6e 63 65 | 64 20 71 75 65 73 74 69 | advance|d questi|
|00000550| 6f 6e 73 3a 0a 0a 5b 38 | 5d 20 57 68 61 74 20 69 |ons:..[8|] What i|
|00000560| 73 20 63 6f 6c 6f 72 20 | 71 75 61 6e 74 69 7a 61 |s color |quantiza|
|00000570| 74 69 6f 6e 3f 0a 5b 39 | 5d 20 57 68 61 74 20 61 |tion?.[9|] What a|
|00000580| 72 65 20 73 6f 6d 65 20 | 72 75 6c 65 73 20 6f 66 |re some |rules of|
|00000590| 20 74 68 75 6d 62 20 66 | 6f 72 20 63 6f 6e 76 65 | thumb f|or conve|
|000005a0| 72 74 69 6e 67 20 47 49 | 46 20 69 6d 61 67 65 73 |rting GI|F images|
|000005b0| 20 74 6f 20 4a 50 45 47 | 3f 0a 5b 31 30 5d 20 44 | to JPEG|?.[10] D|
|000005c0| 6f 65 73 20 6c 6f 73 73 | 20 61 63 63 75 6d 75 6c |oes loss| accumul|
|000005d0| 61 74 65 20 77 69 74 68 | 20 72 65 70 65 61 74 65 |ate with| repeate|
|000005e0| 64 20 63 6f 6d 70 72 65 | 73 73 69 6f 6e 2f 64 65 |d compre|ssion/de|
|000005f0| 63 6f 6d 70 72 65 73 73 | 69 6f 6e 3f 0a 5b 31 31 |compress|ion?.[11|
|00000600| 5d 20 57 68 61 74 20 69 | 73 20 70 72 6f 67 72 65 |] What i|s progre|
|00000610| 73 73 69 76 65 20 4a 50 | 45 47 3f 0a 5b 31 32 5d |ssive JP|EG?.[12]|
|00000620| 20 49 73 6e 27 74 20 74 | 68 65 72 65 20 61 20 6c | Isn't t|here a l|
|00000630| 6f 73 73 6c 65 73 73 20 | 4a 50 45 47 3f 0a 5b 31 |ossless |JPEG?.[1|
|00000640| 33 5d 20 57 68 79 20 61 | 6c 6c 20 74 68 65 20 61 |3] Why a|ll the a|
|00000650| 72 67 75 6d 65 6e 74 20 | 61 62 6f 75 74 20 66 69 |rgument |about fi|
|00000660| 6c 65 20 66 6f 72 6d 61 | 74 73 3f 0a 5b 31 34 5d |le forma|ts?.[14]|
|00000670| 20 48 6f 77 20 64 6f 20 | 49 20 72 65 63 6f 67 6e | How do |I recogn|
|00000680| 69 7a 65 20 77 68 69 63 | 68 20 66 69 6c 65 20 66 |ize whic|h file f|
|00000690| 6f 72 6d 61 74 20 49 20 | 68 61 76 65 2c 20 61 6e |ormat I |have, an|
|000006a0| 64 20 77 68 61 74 20 64 | 6f 20 49 20 64 6f 20 61 |d what d|o I do a|
|000006b0| 62 6f 75 74 20 69 74 3f | 0a 5b 31 35 5d 20 48 6f |bout it?|.[15] Ho|
|000006c0| 77 20 64 6f 65 73 20 4a | 50 45 47 20 77 6f 72 6b |w does J|PEG work|
|000006d0| 3f 0a 5b 31 36 5d 20 57 | 68 61 74 20 61 62 6f 75 |?.[16] W|hat abou|
|000006e0| 74 20 61 72 69 74 68 6d | 65 74 69 63 20 63 6f 64 |t arithm|etic cod|
|000006f0| 69 6e 67 3f 0a 5b 31 37 | 5d 20 43 6f 75 6c 64 20 |ing?.[17|] Could |
|00000700| 61 6e 20 46 50 55 20 73 | 70 65 65 64 20 75 70 20 |an FPU s|peed up |
|00000710| 4a 50 45 47 3f 20 20 48 | 6f 77 20 61 62 6f 75 74 |JPEG? H|ow about|
|00000720| 20 61 20 44 53 50 20 63 | 68 69 70 3f 0a 5b 31 38 | a DSP c|hip?.[18|
|00000730| 5d 20 49 73 6e 27 74 20 | 74 68 65 72 65 20 61 6e |] Isn't |there an|
|00000740| 20 4d 2d 4a 50 45 47 20 | 73 74 61 6e 64 61 72 64 | M-JPEG |standard|
|00000750| 20 66 6f 72 20 6d 6f 74 | 69 6f 6e 20 70 69 63 74 | for mot|ion pict|
|00000760| 75 72 65 73 3f 0a 0a 4d | 69 73 63 65 6c 6c 61 6e |ures?..M|iscellan|
|00000770| 65 6f 75 73 3a 0a 0a 5b | 31 39 5d 20 57 68 65 72 |eous:..[|19] Wher|
|00000780| 65 20 61 72 65 20 46 41 | 51 20 6c 69 73 74 73 20 |e are FA|Q lists |
|00000790| 61 72 63 68 69 76 65 64 | 3f 0a 0a 0a 54 68 69 73 |archived|?...This|
|000007a0| 20 61 72 74 69 63 6c 65 | 20 61 6e 64 20 69 74 73 | article| and its|
|000007b0| 20 63 6f 6d 70 61 6e 69 | 6f 6e 20 61 72 65 20 70 | compani|on are p|
|000007c0| 6f 73 74 65 64 20 65 76 | 65 72 79 20 32 20 77 65 |osted ev|ery 2 we|
|000007d0| 65 6b 73 2e 20 20 49 66 | 20 79 6f 75 20 63 61 6e |eks. If| you can|
|000007e0| 27 74 20 66 69 6e 64 0a | 70 61 72 74 20 32 2c 20 |'t find.|part 2, |
|000007f0| 79 6f 75 20 63 61 6e 20 | 67 65 74 20 69 74 20 66 |you can |get it f|
|00000800| 72 6f 6d 20 74 68 65 20 | 6e 65 77 73 2e 61 6e 73 |rom the |news.ans|
|00000810| 77 65 72 73 20 61 72 63 | 68 69 76 65 20 61 74 20 |wers arc|hive at |
|00000820| 72 74 66 6d 2e 6d 69 74 | 2e 65 64 75 0a 28 73 65 |rtfm.mit|.edu.(se|
|00000830| 65 20 22 5b 31 39 5d 20 | 57 68 65 72 65 20 61 72 |e "[19] |Where ar|
|00000840| 65 20 46 41 51 20 6c 69 | 73 74 73 20 61 72 63 68 |e FAQ li|sts arch|
|00000850| 69 76 65 64 3f 22 29 2e | 20 20 50 61 72 74 20 32 |ived?").| Part 2|
|00000860| 20 63 68 61 6e 67 65 73 | 20 76 65 72 79 20 66 72 | changes| very fr|
|00000870| 65 71 75 65 6e 74 6c 79 | 3b 0a 67 65 74 20 61 20 |equently|;.get a |
|00000880| 6e 65 77 20 63 6f 70 79 | 20 69 66 20 74 68 65 20 |new copy| if the |
|00000890| 6f 6e 65 20 79 6f 75 20 | 61 72 65 20 72 65 61 64 |one you |are read|
|000008a0| 69 6e 67 20 69 73 20 6d | 6f 72 65 20 74 68 61 6e |ing is m|ore than|
|000008b0| 20 61 20 63 6f 75 70 6c | 65 20 6d 6f 6e 74 68 73 | a coupl|e months|
|000008c0| 20 6f 6c 64 2e 0a 0a 2d | 2d 2d 2d 2d 2d 2d 2d 2d | old...-|--------|
|000008d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000008e0| 2d 2d 2d 2d 2d 0a 0a 53 | 75 62 6a 65 63 74 3a 20 |-----..S|ubject: |
|000008f0| 5b 31 5d 20 57 68 61 74 | 20 69 73 20 4a 50 45 47 |[1] What| is JPEG|
|00000900| 3f 0a 0a 4a 50 45 47 20 | 28 70 72 6f 6e 6f 75 6e |?..JPEG |(pronoun|
|00000910| 63 65 64 20 22 6a 61 79 | 2d 70 65 67 22 29 20 69 |ced "jay|-peg") i|
|00000920| 73 20 61 20 73 74 61 6e | 64 61 72 64 69 7a 65 64 |s a stan|dardized|
|00000930| 20 69 6d 61 67 65 20 63 | 6f 6d 70 72 65 73 73 69 | image c|ompressi|
|00000940| 6f 6e 20 6d 65 63 68 61 | 6e 69 73 6d 2e 0a 4a 50 |on mecha|nism..JP|
|00000950| 45 47 20 73 74 61 6e 64 | 73 20 66 6f 72 20 4a 6f |EG stand|s for Jo|
|00000960| 69 6e 74 20 50 68 6f 74 | 6f 67 72 61 70 68 69 63 |int Phot|ographic|
|00000970| 20 45 78 70 65 72 74 73 | 20 47 72 6f 75 70 2c 20 | Experts| Group, |
|00000980| 74 68 65 20 6f 72 69 67 | 69 6e 61 6c 20 6e 61 6d |the orig|inal nam|
|00000990| 65 20 6f 66 20 74 68 65 | 0a 63 6f 6d 6d 69 74 74 |e of the|.committ|
|000009a0| 65 65 20 74 68 61 74 20 | 77 72 6f 74 65 20 74 68 |ee that |wrote th|
|000009b0| 65 20 73 74 61 6e 64 61 | 72 64 2e 0a 0a 4a 50 45 |e standa|rd...JPE|
|000009c0| 47 20 69 73 20 64 65 73 | 69 67 6e 65 64 20 66 6f |G is des|igned fo|
|000009d0| 72 20 63 6f 6d 70 72 65 | 73 73 69 6e 67 20 65 69 |r compre|ssing ei|
|000009e0| 74 68 65 72 20 66 75 6c | 6c 2d 63 6f 6c 6f 72 20 |ther ful|l-color |
|000009f0| 6f 72 20 67 72 61 79 2d | 73 63 61 6c 65 20 69 6d |or gray-|scale im|
|00000a00| 61 67 65 73 0a 6f 66 20 | 6e 61 74 75 72 61 6c 2c |ages.of |natural,|
|00000a10| 20 72 65 61 6c 2d 77 6f | 72 6c 64 20 73 63 65 6e | real-wo|rld scen|
|00000a20| 65 73 2e 20 20 49 74 20 | 77 6f 72 6b 73 20 77 65 |es. It |works we|
|00000a30| 6c 6c 20 6f 6e 20 70 68 | 6f 74 6f 67 72 61 70 68 |ll on ph|otograph|
|00000a40| 73 2c 20 6e 61 74 75 72 | 61 6c 69 73 74 69 63 0a |s, natur|alistic.|
|00000a50| 61 72 74 77 6f 72 6b 2c | 20 61 6e 64 20 73 69 6d |artwork,| and sim|
|00000a60| 69 6c 61 72 20 6d 61 74 | 65 72 69 61 6c 3b 20 6e |ilar mat|erial; n|
|00000a70| 6f 74 20 73 6f 20 77 65 | 6c 6c 20 6f 6e 20 6c 65 |ot so we|ll on le|
|00000a80| 74 74 65 72 69 6e 67 2c | 20 73 69 6d 70 6c 65 20 |ttering,| simple |
|00000a90| 63 61 72 74 6f 6f 6e 73 | 2c 0a 6f 72 20 6c 69 6e |cartoons|,.or lin|
|00000aa0| 65 20 64 72 61 77 69 6e | 67 73 2e 20 20 4a 50 45 |e drawin|gs. JPE|
|00000ab0| 47 20 68 61 6e 64 6c 65 | 73 20 6f 6e 6c 79 20 73 |G handle|s only s|
|00000ac0| 74 69 6c 6c 20 69 6d 61 | 67 65 73 2c 20 62 75 74 |till ima|ges, but|
|00000ad0| 20 74 68 65 72 65 20 69 | 73 20 61 20 72 65 6c 61 | there i|s a rela|
|00000ae0| 74 65 64 0a 73 74 61 6e | 64 61 72 64 20 63 61 6c |ted.stan|dard cal|
|00000af0| 6c 65 64 20 4d 50 45 47 | 20 66 6f 72 20 6d 6f 74 |led MPEG| for mot|
|00000b00| 69 6f 6e 20 70 69 63 74 | 75 72 65 73 2e 0a 0a 4a |ion pict|ures...J|
|00000b10| 50 45 47 20 69 73 20 22 | 6c 6f 73 73 79 2c 22 20 |PEG is "|lossy," |
|00000b20| 6d 65 61 6e 69 6e 67 20 | 74 68 61 74 20 74 68 65 |meaning |that the|
|00000b30| 20 64 65 63 6f 6d 70 72 | 65 73 73 65 64 20 69 6d | decompr|essed im|
|00000b40| 61 67 65 20 69 73 6e 27 | 74 20 71 75 69 74 65 20 |age isn'|t quite |
|00000b50| 74 68 65 20 73 61 6d 65 | 20 61 73 0a 74 68 65 20 |the same| as.the |
|00000b60| 6f 6e 65 20 79 6f 75 20 | 73 74 61 72 74 65 64 20 |one you |started |
|00000b70| 77 69 74 68 2e 20 20 28 | 54 68 65 72 65 20 61 72 |with. (|There ar|
|00000b80| 65 20 6c 6f 73 73 6c 65 | 73 73 20 69 6d 61 67 65 |e lossle|ss image|
|00000b90| 20 63 6f 6d 70 72 65 73 | 73 69 6f 6e 20 61 6c 67 | compres|sion alg|
|00000ba0| 6f 72 69 74 68 6d 73 2c | 0a 62 75 74 20 4a 50 45 |orithms,|.but JPE|
|00000bb0| 47 20 61 63 68 69 65 76 | 65 73 20 6d 75 63 68 20 |G achiev|es much |
|00000bc0| 67 72 65 61 74 65 72 20 | 63 6f 6d 70 72 65 73 73 |greater |compress|
|00000bd0| 69 6f 6e 20 74 68 61 6e | 20 69 73 20 70 6f 73 73 |ion than| is poss|
|00000be0| 69 62 6c 65 20 77 69 74 | 68 20 6c 6f 73 73 6c 65 |ible wit|h lossle|
|00000bf0| 73 73 0a 6d 65 74 68 6f | 64 73 2e 29 20 20 4a 50 |ss.metho|ds.) JP|
|00000c00| 45 47 20 69 73 20 64 65 | 73 69 67 6e 65 64 20 74 |EG is de|signed t|
|00000c10| 6f 20 65 78 70 6c 6f 69 | 74 20 6b 6e 6f 77 6e 20 |o exploi|t known |
|00000c20| 6c 69 6d 69 74 61 74 69 | 6f 6e 73 20 6f 66 20 74 |limitati|ons of t|
|00000c30| 68 65 20 68 75 6d 61 6e | 20 65 79 65 2c 0a 6e 6f |he human| eye,.no|
|00000c40| 74 61 62 6c 79 20 74 68 | 65 20 66 61 63 74 20 74 |tably th|e fact t|
|00000c50| 68 61 74 20 73 6d 61 6c | 6c 20 63 6f 6c 6f 72 20 |hat smal|l color |
|00000c60| 63 68 61 6e 67 65 73 20 | 61 72 65 20 70 65 72 63 |changes |are perc|
|00000c70| 65 69 76 65 64 20 6c 65 | 73 73 20 61 63 63 75 72 |eived le|ss accur|
|00000c80| 61 74 65 6c 79 20 74 68 | 61 6e 0a 73 6d 61 6c 6c |ately th|an.small|
|00000c90| 20 63 68 61 6e 67 65 73 | 20 69 6e 20 62 72 69 67 | changes| in brig|
|00000ca0| 68 74 6e 65 73 73 2e 20 | 20 54 68 75 73 2c 20 4a |htness. | Thus, J|
|00000cb0| 50 45 47 20 69 73 20 69 | 6e 74 65 6e 64 65 64 20 |PEG is i|ntended |
|00000cc0| 66 6f 72 20 63 6f 6d 70 | 72 65 73 73 69 6e 67 20 |for comp|ressing |
|00000cd0| 69 6d 61 67 65 73 0a 74 | 68 61 74 20 77 69 6c 6c |images.t|hat will|
|00000ce0| 20 62 65 20 6c 6f 6f 6b | 65 64 20 61 74 20 62 79 | be look|ed at by|
|00000cf0| 20 68 75 6d 61 6e 73 2e | 20 20 49 66 20 79 6f 75 | humans.| If you|
|00000d00| 20 70 6c 61 6e 20 74 6f | 20 6d 61 63 68 69 6e 65 | plan to| machine|
|00000d10| 2d 61 6e 61 6c 79 7a 65 | 20 79 6f 75 72 0a 69 6d |-analyze| your.im|
|00000d20| 61 67 65 73 2c 20 74 68 | 65 20 73 6d 61 6c 6c 20 |ages, th|e small |
|00000d30| 65 72 72 6f 72 73 20 69 | 6e 74 72 6f 64 75 63 65 |errors i|ntroduce|
|00000d40| 64 20 62 79 20 4a 50 45 | 47 20 6d 61 79 20 62 65 |d by JPE|G may be|
|00000d50| 20 61 20 70 72 6f 62 6c | 65 6d 20 66 6f 72 20 79 | a probl|em for y|
|00000d60| 6f 75 2c 20 65 76 65 6e | 0a 69 66 20 74 68 65 79 |ou, even|.if they|
|00000d70| 20 61 72 65 20 69 6e 76 | 69 73 69 62 6c 65 20 74 | are inv|isible t|
|00000d80| 6f 20 74 68 65 20 65 79 | 65 2e 0a 0a 41 20 75 73 |o the ey|e...A us|
|00000d90| 65 66 75 6c 20 70 72 6f | 70 65 72 74 79 20 6f 66 |eful pro|perty of|
|00000da0| 20 4a 50 45 47 20 69 73 | 20 74 68 61 74 20 74 68 | JPEG is| that th|
|00000db0| 65 20 64 65 67 72 65 65 | 20 6f 66 20 6c 6f 73 73 |e degree| of loss|
|00000dc0| 69 6e 65 73 73 20 63 61 | 6e 20 62 65 20 76 61 72 |iness ca|n be var|
|00000dd0| 69 65 64 20 62 79 0a 61 | 64 6a 75 73 74 69 6e 67 |ied by.a|djusting|
|00000de0| 20 63 6f 6d 70 72 65 73 | 73 69 6f 6e 20 70 61 72 | compres|sion par|
|00000df0| 61 6d 65 74 65 72 73 2e | 20 20 54 68 69 73 20 6d |ameters.| This m|
|00000e00| 65 61 6e 73 20 74 68 61 | 74 20 74 68 65 20 69 6d |eans tha|t the im|
|00000e10| 61 67 65 20 6d 61 6b 65 | 72 20 63 61 6e 20 74 72 |age make|r can tr|
|00000e20| 61 64 65 0a 6f 66 66 20 | 66 69 6c 65 20 73 69 7a |ade.off |file siz|
|00000e30| 65 20 61 67 61 69 6e 73 | 74 20 6f 75 74 70 75 74 |e agains|t output|
|00000e40| 20 69 6d 61 67 65 20 71 | 75 61 6c 69 74 79 2e 20 | image q|uality. |
|00000e50| 20 59 6f 75 20 63 61 6e | 20 6d 61 6b 65 20 2a 65 | You can| make *e|
|00000e60| 78 74 72 65 6d 65 6c 79 | 2a 20 73 6d 61 6c 6c 0a |xtremely|* small.|
|00000e70| 66 69 6c 65 73 20 69 66 | 20 79 6f 75 20 64 6f 6e |files if| you don|
|00000e80| 27 74 20 6d 69 6e 64 20 | 70 6f 6f 72 20 71 75 61 |'t mind |poor qua|
|00000e90| 6c 69 74 79 3b 20 74 68 | 69 73 20 69 73 20 75 73 |lity; th|is is us|
|00000ea0| 65 66 75 6c 20 66 6f 72 | 20 61 70 70 6c 69 63 61 |eful for| applica|
|00000eb0| 74 69 6f 6e 73 20 73 75 | 63 68 0a 61 73 20 69 6e |tions su|ch.as in|
|00000ec0| 64 65 78 69 6e 67 20 69 | 6d 61 67 65 20 61 72 63 |dexing i|mage arc|
|00000ed0| 68 69 76 65 73 2e 20 20 | 43 6f 6e 76 65 72 73 65 |hives. |Converse|
|00000ee0| 6c 79 2c 20 69 66 20 79 | 6f 75 20 61 72 65 6e 27 |ly, if y|ou aren'|
|00000ef0| 74 20 68 61 70 70 79 20 | 77 69 74 68 20 74 68 65 |t happy |with the|
|00000f00| 20 6f 75 74 70 75 74 0a | 71 75 61 6c 69 74 79 20 | output.|quality |
|00000f10| 61 74 20 74 68 65 20 64 | 65 66 61 75 6c 74 20 63 |at the d|efault c|
|00000f20| 6f 6d 70 72 65 73 73 69 | 6f 6e 20 73 65 74 74 69 |ompressi|on setti|
|00000f30| 6e 67 2c 20 79 6f 75 20 | 63 61 6e 20 6a 61 63 6b |ng, you |can jack|
|00000f40| 20 75 70 20 74 68 65 20 | 71 75 61 6c 69 74 79 0a | up the |quality.|
|00000f50| 75 6e 74 69 6c 20 79 6f | 75 20 61 72 65 20 73 61 |until yo|u are sa|
|00000f60| 74 69 73 66 69 65 64 2c | 20 61 6e 64 20 61 63 63 |tisfied,| and acc|
|00000f70| 65 70 74 20 6c 65 73 73 | 65 72 20 63 6f 6d 70 72 |ept less|er compr|
|00000f80| 65 73 73 69 6f 6e 2e 0a | 0a 41 6e 6f 74 68 65 72 |ession..|.Another|
|00000f90| 20 69 6d 70 6f 72 74 61 | 6e 74 20 61 73 70 65 63 | importa|nt aspec|
|00000fa0| 74 20 6f 66 20 4a 50 45 | 47 20 69 73 20 74 68 61 |t of JPE|G is tha|
|00000fb0| 74 20 64 65 63 6f 64 65 | 72 73 20 63 61 6e 20 74 |t decode|rs can t|
|00000fc0| 72 61 64 65 20 6f 66 66 | 20 64 65 63 6f 64 69 6e |rade off| decodin|
|00000fd0| 67 0a 73 70 65 65 64 20 | 61 67 61 69 6e 73 74 20 |g.speed |against |
|00000fe0| 69 6d 61 67 65 20 71 75 | 61 6c 69 74 79 2c 20 62 |image qu|ality, b|
|00000ff0| 79 20 75 73 69 6e 67 20 | 66 61 73 74 20 62 75 74 |y using |fast but|
|00001000| 20 69 6e 61 63 63 75 72 | 61 74 65 20 61 70 70 72 | inaccur|ate appr|
|00001010| 6f 78 69 6d 61 74 69 6f | 6e 73 20 74 6f 0a 74 68 |oximatio|ns to.th|
|00001020| 65 20 72 65 71 75 69 72 | 65 64 20 63 61 6c 63 75 |e requir|ed calcu|
|00001030| 6c 61 74 69 6f 6e 73 2e | 20 20 53 6f 6d 65 20 76 |lations.| Some v|
|00001040| 69 65 77 65 72 73 20 6f | 62 74 61 69 6e 20 72 65 |iewers o|btain re|
|00001050| 6d 61 72 6b 61 62 6c 65 | 20 73 70 65 65 64 75 70 |markable| speedup|
|00001060| 73 20 69 6e 20 74 68 69 | 73 0a 77 61 79 2e 0a 0a |s in thi|s.way...|
|00001070| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001080| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 0a 0a |--------|------..|
|00001090| 53 75 62 6a 65 63 74 3a | 20 5b 32 5d 20 57 68 79 |Subject:| [2] Why|
|000010a0| 20 75 73 65 20 4a 50 45 | 47 3f 0a 0a 54 68 65 72 | use JPE|G?..Ther|
|000010b0| 65 20 61 72 65 20 74 77 | 6f 20 67 6f 6f 64 20 72 |e are tw|o good r|
|000010c0| 65 61 73 6f 6e 73 3a 20 | 74 6f 20 6d 61 6b 65 20 |easons: |to make |
|000010d0| 79 6f 75 72 20 69 6d 61 | 67 65 20 66 69 6c 65 73 |your ima|ge files|
|000010e0| 20 73 6d 61 6c 6c 65 72 | 2c 20 61 6e 64 20 74 6f | smaller|, and to|
|000010f0| 20 73 74 6f 72 65 0a 32 | 34 2d 62 69 74 2d 70 65 | store.2|4-bit-pe|
|00001100| 72 2d 70 69 78 65 6c 20 | 63 6f 6c 6f 72 20 64 61 |r-pixel |color da|
|00001110| 74 61 20 69 6e 73 74 65 | 61 64 20 6f 66 20 38 2d |ta inste|ad of 8-|
|00001120| 62 69 74 2d 70 65 72 2d | 70 69 78 65 6c 20 64 61 |bit-per-|pixel da|
|00001130| 74 61 2e 0a 0a 4d 61 6b | 69 6e 67 20 69 6d 61 67 |ta...Mak|ing imag|
|00001140| 65 20 66 69 6c 65 73 20 | 73 6d 61 6c 6c 65 72 20 |e files |smaller |
|00001150| 69 73 20 61 20 77 69 6e | 20 66 6f 72 20 74 72 61 |is a win| for tra|
|00001160| 6e 73 6d 69 74 74 69 6e | 67 20 66 69 6c 65 73 20 |nsmittin|g files |
|00001170| 61 63 72 6f 73 73 20 6e | 65 74 77 6f 72 6b 73 0a |across n|etworks.|
|00001180| 61 6e 64 20 66 6f 72 20 | 61 72 63 68 69 76 69 6e |and for |archivin|
|00001190| 67 20 6c 69 62 72 61 72 | 69 65 73 20 6f 66 20 69 |g librar|ies of i|
|000011a0| 6d 61 67 65 73 2e 20 20 | 42 65 69 6e 67 20 61 62 |mages. |Being ab|
|000011b0| 6c 65 20 74 6f 20 63 6f | 6d 70 72 65 73 73 20 61 |le to co|mpress a|
|000011c0| 20 32 20 4d 62 79 74 65 | 0a 66 75 6c 6c 2d 63 6f | 2 Mbyte|.full-co|
|000011d0| 6c 6f 72 20 66 69 6c 65 | 20 64 6f 77 6e 20 74 6f |lor file| down to|
|000011e0| 2c 20 73 61 79 2c 20 31 | 30 30 20 4b 62 79 74 65 |, say, 1|00 Kbyte|
|000011f0| 73 20 6d 61 6b 65 73 20 | 61 20 62 69 67 20 64 69 |s makes |a big di|
|00001200| 66 66 65 72 65 6e 63 65 | 20 69 6e 20 64 69 73 6b |fference| in disk|
|00001210| 0a 73 70 61 63 65 20 61 | 6e 64 20 74 72 61 6e 73 |.space a|nd trans|
|00001220| 6d 69 73 73 69 6f 6e 20 | 74 69 6d 65 21 20 20 41 |mission |time! A|
|00001230| 6e 64 20 4a 50 45 47 20 | 63 61 6e 20 65 61 73 69 |nd JPEG |can easi|
|00001240| 6c 79 20 70 72 6f 76 69 | 64 65 20 32 30 3a 31 20 |ly provi|de 20:1 |
|00001250| 63 6f 6d 70 72 65 73 73 | 69 6f 6e 0a 6f 66 20 66 |compress|ion.of f|
|00001260| 75 6c 6c 2d 63 6f 6c 6f | 72 20 64 61 74 61 2e 20 |ull-colo|r data. |
|00001270| 20 49 66 20 79 6f 75 20 | 61 72 65 20 63 6f 6d 70 | If you |are comp|
|00001280| 61 72 69 6e 67 20 47 49 | 46 20 61 6e 64 20 4a 50 |aring GI|F and JP|
|00001290| 45 47 2c 20 74 68 65 20 | 73 69 7a 65 20 72 61 74 |EG, the |size rat|
|000012a0| 69 6f 20 69 73 0a 75 73 | 75 61 6c 6c 79 20 6d 6f |io is.us|ually mo|
|000012b0| 72 65 20 6c 69 6b 65 20 | 34 3a 31 20 28 73 65 65 |re like |4:1 (see|
|000012c0| 20 22 5b 34 5d 20 48 6f | 77 20 77 65 6c 6c 20 64 | "[4] Ho|w well d|
|000012d0| 6f 65 73 20 4a 50 45 47 | 20 63 6f 6d 70 72 65 73 |oes JPEG| compres|
|000012e0| 73 20 69 6d 61 67 65 73 | 3f 22 29 2e 0a 0a 49 66 |s images|?")...If|
|000012f0| 20 79 6f 75 72 20 76 69 | 65 77 69 6e 67 20 73 6f | your vi|ewing so|
|00001300| 66 74 77 61 72 65 20 64 | 6f 65 73 6e 27 74 20 73 |ftware d|oesn't s|
|00001310| 75 70 70 6f 72 74 20 4a | 50 45 47 20 64 69 72 65 |upport J|PEG dire|
|00001320| 63 74 6c 79 2c 20 79 6f | 75 27 6c 6c 20 68 61 76 |ctly, yo|u'll hav|
|00001330| 65 20 74 6f 0a 63 6f 6e | 76 65 72 74 20 4a 50 45 |e to.con|vert JPE|
|00001340| 47 20 74 6f 20 73 6f 6d | 65 20 6f 74 68 65 72 20 |G to som|e other |
|00001350| 66 6f 72 6d 61 74 20 74 | 6f 20 76 69 65 77 20 74 |format t|o view t|
|00001360| 68 65 20 69 6d 61 67 65 | 2e 20 20 45 76 65 6e 20 |he image|. Even |
|00001370| 77 69 74 68 20 61 0a 4a | 50 45 47 2d 63 61 70 61 |with a.J|PEG-capa|
|00001380| 62 6c 65 20 76 69 65 77 | 65 72 2c 20 69 74 20 74 |ble view|er, it t|
|00001390| 61 6b 65 73 20 6c 6f 6e | 67 65 72 20 74 6f 20 64 |akes lon|ger to d|
|000013a0| 65 63 6f 64 65 20 61 6e | 64 20 76 69 65 77 20 61 |ecode an|d view a|
|000013b0| 20 4a 50 45 47 20 69 6d | 61 67 65 20 74 68 61 6e | JPEG im|age than|
|000013c0| 0a 74 6f 20 76 69 65 77 | 20 61 6e 20 69 6d 61 67 |.to view| an imag|
|000013d0| 65 20 6f 66 20 61 20 73 | 69 6d 70 6c 65 72 20 66 |e of a s|impler f|
|000013e0| 6f 72 6d 61 74 20 73 75 | 63 68 20 61 73 20 47 49 |ormat su|ch as GI|
|000013f0| 46 2e 20 20 54 68 75 73 | 2c 20 75 73 69 6e 67 20 |F. Thus|, using |
|00001400| 4a 50 45 47 20 69 73 0a | 65 73 73 65 6e 74 69 61 |JPEG is.|essentia|
|00001410| 6c 6c 79 20 61 20 74 69 | 6d 65 2f 73 70 61 63 65 |lly a ti|me/space|
|00001420| 20 74 72 61 64 65 6f 66 | 66 3a 20 79 6f 75 20 67 | tradeof|f: you g|
|00001430| 69 76 65 20 75 70 20 73 | 6f 6d 65 20 74 69 6d 65 |ive up s|ome time|
|00001440| 20 69 6e 20 6f 72 64 65 | 72 20 74 6f 20 73 74 6f | in orde|r to sto|
|00001450| 72 65 0a 6f 72 20 74 72 | 61 6e 73 6d 69 74 20 61 |re.or tr|ansmit a|
|00001460| 6e 20 69 6d 61 67 65 20 | 6d 6f 72 65 20 63 68 65 |n image |more che|
|00001470| 61 70 6c 79 2e 20 20 42 | 75 74 20 69 74 27 73 20 |aply. B|ut it's |
|00001480| 77 6f 72 74 68 20 6e 6f | 74 69 6e 67 20 74 68 61 |worth no|ting tha|
|00001490| 74 20 77 68 65 6e 20 6e | 65 74 77 6f 72 6b 0a 6f |t when n|etwork.o|
|000014a0| 72 20 74 65 6c 65 70 68 | 6f 6e 65 20 74 72 61 6e |r teleph|one tran|
|000014b0| 73 6d 69 73 73 69 6f 6e | 20 69 73 20 69 6e 76 6f |smission| is invo|
|000014c0| 6c 76 65 64 2c 20 74 68 | 65 20 74 69 6d 65 20 73 |lved, th|e time s|
|000014d0| 61 76 69 6e 67 73 20 66 | 72 6f 6d 20 74 72 61 6e |avings f|rom tran|
|000014e0| 73 66 65 72 72 69 6e 67 | 20 61 0a 73 68 6f 72 74 |sferring| a.short|
|000014f0| 65 72 20 66 69 6c 65 20 | 63 61 6e 20 62 65 20 67 |er file |can be g|
|00001500| 72 65 61 74 65 72 20 74 | 68 61 6e 20 74 68 65 20 |reater t|han the |
|00001510| 74 69 6d 65 20 6e 65 65 | 64 65 64 20 74 6f 20 64 |time nee|ded to d|
|00001520| 65 63 6f 6d 70 72 65 73 | 73 20 74 68 65 20 66 69 |ecompres|s the fi|
|00001530| 6c 65 2e 0a 0a 54 68 65 | 20 73 65 63 6f 6e 64 20 |le...The| second |
|00001540| 66 75 6e 64 61 6d 65 6e | 74 61 6c 20 61 64 76 61 |fundamen|tal adva|
|00001550| 6e 74 61 67 65 20 6f 66 | 20 4a 50 45 47 20 69 73 |ntage of| JPEG is|
|00001560| 20 74 68 61 74 20 69 74 | 20 73 74 6f 72 65 73 20 | that it| stores |
|00001570| 66 75 6c 6c 20 63 6f 6c | 6f 72 0a 69 6e 66 6f 72 |full col|or.infor|
|00001580| 6d 61 74 69 6f 6e 3a 20 | 32 34 20 62 69 74 73 2f |mation: |24 bits/|
|00001590| 70 69 78 65 6c 20 28 31 | 36 20 6d 69 6c 6c 69 6f |pixel (1|6 millio|
|000015a0| 6e 20 63 6f 6c 6f 72 73 | 29 2e 20 20 47 49 46 2c |n colors|). GIF,|
|000015b0| 20 74 68 65 20 6f 74 68 | 65 72 20 69 6d 61 67 65 | the oth|er image|
|000015c0| 20 66 6f 72 6d 61 74 0a | 77 69 64 65 6c 79 20 75 | format.|widely u|
|000015d0| 73 65 64 20 6f 6e 20 55 | 73 65 6e 65 74 2c 20 63 |sed on U|senet, c|
|000015e0| 61 6e 20 6f 6e 6c 79 20 | 73 74 6f 72 65 20 38 20 |an only |store 8 |
|000015f0| 62 69 74 73 2f 70 69 78 | 65 6c 20 28 32 35 36 20 |bits/pix|el (256 |
|00001600| 6f 72 20 66 65 77 65 72 | 20 63 6f 6c 6f 72 73 29 |or fewer| colors)|
|00001610| 2e 0a 47 49 46 20 69 73 | 20 72 65 61 73 6f 6e 61 |..GIF is| reasona|
|00001620| 62 6c 79 20 77 65 6c 6c | 20 6d 61 74 63 68 65 64 |bly well| matched|
|00001630| 20 74 6f 20 69 6e 65 78 | 70 65 6e 73 69 76 65 20 | to inex|pensive |
|00001640| 63 6f 6d 70 75 74 65 72 | 20 64 69 73 70 6c 61 79 |computer| display|
|00001650| 73 20 2d 2d 2d 20 6d 6f | 73 74 0a 72 75 6e 2d 6f |s --- mo|st.run-o|
|00001660| 66 2d 74 68 65 2d 6d 69 | 6c 6c 20 50 43 73 20 63 |f-the-mi|ll PCs c|
|00001670| 61 6e 27 74 20 64 69 73 | 70 6c 61 79 20 6d 6f 72 |an't dis|play mor|
|00001680| 65 20 74 68 61 6e 20 32 | 35 36 20 64 69 73 74 69 |e than 2|56 disti|
|00001690| 6e 63 74 20 63 6f 6c 6f | 72 73 20 61 74 20 6f 6e |nct colo|rs at on|
|000016a0| 63 65 2e 0a 42 75 74 20 | 66 75 6c 6c 2d 63 6f 6c |ce..But |full-col|
|000016b0| 6f 72 20 68 61 72 64 77 | 61 72 65 20 69 73 20 67 |or hardw|are is g|
|000016c0| 65 74 74 69 6e 67 20 63 | 68 65 61 70 65 72 20 61 |etting c|heaper a|
|000016d0| 6c 6c 20 74 68 65 20 74 | 69 6d 65 2c 20 61 6e 64 |ll the t|ime, and|
|000016e0| 20 4a 50 45 47 20 69 6d | 61 67 65 73 0a 6c 6f 6f | JPEG im|ages.loo|
|000016f0| 6b 20 2a 6d 75 63 68 2a | 20 62 65 74 74 65 72 20 |k *much*| better |
|00001700| 74 68 61 6e 20 47 49 46 | 73 20 6f 6e 20 73 75 63 |than GIF|s on suc|
|00001710| 68 20 68 61 72 64 77 61 | 72 65 2e 20 20 57 69 74 |h hardwa|re. Wit|
|00001720| 68 69 6e 20 61 20 63 6f | 75 70 6c 65 20 6f 66 20 |hin a co|uple of |
|00001730| 79 65 61 72 73 2c 0a 47 | 49 46 20 77 69 6c 6c 20 |years,.G|IF will |
|00001740| 70 72 6f 62 61 62 6c 79 | 20 73 65 65 6d 20 61 73 |probably| seem as|
|00001750| 20 6f 62 73 6f 6c 65 74 | 65 20 61 73 20 62 6c 61 | obsolet|e as bla|
|00001760| 63 6b 2d 61 6e 64 2d 77 | 68 69 74 65 20 4d 61 63 |ck-and-w|hite Mac|
|00001770| 50 61 69 6e 74 20 66 6f | 72 6d 61 74 20 64 6f 65 |Paint fo|rmat doe|
|00001780| 73 0a 74 6f 64 61 79 2e | 20 20 46 75 72 74 68 65 |s.today.| Furthe|
|00001790| 72 6d 6f 72 65 2c 20 4a | 50 45 47 20 69 73 20 66 |rmore, J|PEG is f|
|000017a0| 61 72 20 6d 6f 72 65 20 | 75 73 65 66 75 6c 20 74 |ar more |useful t|
|000017b0| 68 61 6e 20 47 49 46 20 | 66 6f 72 20 65 78 63 68 |han GIF |for exch|
|000017c0| 61 6e 67 69 6e 67 20 69 | 6d 61 67 65 73 0a 61 6d |anging i|mages.am|
|000017d0| 6f 6e 67 20 70 65 6f 70 | 6c 65 20 77 69 74 68 20 |ong peop|le with |
|000017e0| 77 69 64 65 6c 79 20 76 | 61 72 79 69 6e 67 20 64 |widely v|arying d|
|000017f0| 69 73 70 6c 61 79 20 68 | 61 72 64 77 61 72 65 2c |isplay h|ardware,|
|00001800| 20 62 65 63 61 75 73 65 | 20 69 74 20 61 76 6f 69 | because| it avoi|
|00001810| 64 73 0a 70 72 65 6a 75 | 64 67 69 6e 67 20 68 6f |ds.preju|dging ho|
|00001820| 77 20 6d 61 6e 79 20 63 | 6f 6c 6f 72 73 20 74 6f |w many c|olors to|
|00001830| 20 75 73 65 20 28 73 65 | 65 20 22 5b 38 5d 20 57 | use (se|e "[8] W|
|00001840| 68 61 74 20 69 73 20 63 | 6f 6c 6f 72 20 71 75 61 |hat is c|olor qua|
|00001850| 6e 74 69 7a 61 74 69 6f | 6e 3f 22 29 2e 0a 48 65 |ntizatio|n?")..He|
|00001860| 6e 63 65 20 4a 50 45 47 | 20 69 73 20 63 6f 6e 73 |nce JPEG| is cons|
|00001870| 69 64 65 72 61 62 6c 79 | 20 6d 6f 72 65 20 61 70 |iderably| more ap|
|00001880| 70 72 6f 70 72 69 61 74 | 65 20 74 68 61 6e 20 47 |propriat|e than G|
|00001890| 49 46 20 66 6f 72 20 75 | 73 65 20 61 73 20 61 20 |IF for u|se as a |
|000018a0| 55 73 65 6e 65 74 0a 70 | 6f 73 74 69 6e 67 20 73 |Usenet.p|osting s|
|000018b0| 74 61 6e 64 61 72 64 2e | 0a 0a 41 20 6c 6f 74 20 |tandard.|..A lot |
|000018c0| 6f 66 20 70 65 6f 70 6c | 65 20 61 72 65 20 73 63 |of peopl|e are sc|
|000018d0| 61 72 65 64 20 6f 66 66 | 20 62 79 20 74 68 65 20 |ared off| by the |
|000018e0| 74 65 72 6d 20 22 6c 6f | 73 73 79 20 63 6f 6d 70 |term "lo|ssy comp|
|000018f0| 72 65 73 73 69 6f 6e 22 | 2e 20 20 42 75 74 20 77 |ression"|. But w|
|00001900| 68 65 6e 0a 69 74 20 63 | 6f 6d 65 73 20 74 6f 20 |hen.it c|omes to |
|00001910| 72 65 70 72 65 73 65 6e | 74 69 6e 67 20 72 65 61 |represen|ting rea|
|00001920| 6c 2d 77 6f 72 6c 64 20 | 73 63 65 6e 65 73 2c 20 |l-world |scenes, |
|00001930| 2a 6e 6f 2a 20 64 69 67 | 69 74 61 6c 20 69 6d 61 |*no* dig|ital ima|
|00001940| 67 65 20 66 6f 72 6d 61 | 74 20 63 61 6e 0a 72 65 |ge forma|t can.re|
|00001950| 74 61 69 6e 20 61 6c 6c | 20 74 68 65 20 69 6e 66 |tain all| the inf|
|00001960| 6f 72 6d 61 74 69 6f 6e | 20 74 68 61 74 20 69 6d |ormation| that im|
|00001970| 70 69 6e 67 65 73 20 6f | 6e 20 79 6f 75 72 20 65 |pinges o|n your e|
|00001980| 79 65 62 61 6c 6c 2e 20 | 20 42 79 20 63 6f 6d 70 |yeball. | By comp|
|00001990| 61 72 69 73 6f 6e 0a 77 | 69 74 68 20 74 68 65 20 |arison.w|ith the |
|000019a0| 72 65 61 6c 2d 77 6f 72 | 6c 64 20 73 63 65 6e 65 |real-wor|ld scene|
|000019b0| 2c 20 4a 50 45 47 20 6c | 6f 73 65 73 20 66 61 72 |, JPEG l|oses far|
|000019c0| 20 6c 65 73 73 20 69 6e | 66 6f 72 6d 61 74 69 6f | less in|formatio|
|000019d0| 6e 20 74 68 61 6e 20 47 | 49 46 2e 0a 54 68 65 20 |n than G|IF..The |
|000019e0| 72 65 61 6c 20 64 69 73 | 61 64 76 61 6e 74 61 67 |real dis|advantag|
|000019f0| 65 20 6f 66 20 6c 6f 73 | 73 79 20 63 6f 6d 70 72 |e of los|sy compr|
|00001a00| 65 73 73 69 6f 6e 20 69 | 73 20 74 68 61 74 20 69 |ession i|s that i|
|00001a10| 66 20 79 6f 75 20 72 65 | 70 65 61 74 65 64 6c 79 |f you re|peatedly|
|00001a20| 0a 63 6f 6d 70 72 65 73 | 73 20 61 6e 64 20 64 65 |.compres|s and de|
|00001a30| 63 6f 6d 70 72 65 73 73 | 20 61 6e 20 69 6d 61 67 |compress| an imag|
|00001a40| 65 2c 20 79 6f 75 20 6c | 6f 73 65 20 61 20 6c 69 |e, you l|ose a li|
|00001a50| 74 74 6c 65 20 71 75 61 | 6c 69 74 79 20 65 61 63 |ttle qua|lity eac|
|00001a60| 68 20 74 69 6d 65 0a 28 | 73 65 65 20 22 5b 31 30 |h time.(|see "[10|
|00001a70| 5d 20 44 6f 65 73 20 6c | 6f 73 73 20 61 63 63 75 |] Does l|oss accu|
|00001a80| 6d 75 6c 61 74 65 20 77 | 69 74 68 20 72 65 70 65 |mulate w|ith repe|
|00001a90| 61 74 65 64 20 63 6f 6d | 70 72 65 73 73 69 6f 6e |ated com|pression|
|00001aa0| 2f 64 65 63 6f 6d 70 72 | 65 73 73 69 6f 6e 3f 22 |/decompr|ession?"|
|00001ab0| 29 2e 0a 54 68 69 73 20 | 69 73 20 61 20 73 65 72 |)..This |is a ser|
|00001ac0| 69 6f 75 73 20 6f 62 6a | 65 63 74 69 6f 6e 20 66 |ious obj|ection f|
|00001ad0| 6f 72 20 73 6f 6d 65 20 | 61 70 70 6c 69 63 61 74 |or some |applicat|
|00001ae0| 69 6f 6e 73 20 62 75 74 | 20 6d 61 74 74 65 72 73 |ions but| matters|
|00001af0| 20 6e 6f 74 20 61 74 20 | 61 6c 6c 0a 66 6f 72 20 | not at |all.for |
|00001b00| 6d 61 6e 79 20 6f 74 68 | 65 72 73 2e 0a 0a 2d 2d |many oth|ers...--|
|00001b10| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001b20| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 0a 0a 53 75 |--------|----..Su|
|00001b30| 62 6a 65 63 74 3a 20 5b | 33 5d 20 57 68 65 6e 20 |bject: [|3] When |
|00001b40| 73 68 6f 75 6c 64 20 49 | 20 75 73 65 20 4a 50 45 |should I| use JPE|
|00001b50| 47 2c 20 61 6e 64 20 77 | 68 65 6e 20 73 68 6f 75 |G, and w|hen shou|
|00001b60| 6c 64 20 49 20 73 74 69 | 63 6b 20 77 69 74 68 20 |ld I sti|ck with |
|00001b70| 47 49 46 3f 0a 0a 4a 50 | 45 47 20 69 73 20 2a 6e |GIF?..JP|EG is *n|
|00001b80| 6f 74 2a 20 67 6f 69 6e | 67 20 74 6f 20 64 69 73 |ot* goin|g to dis|
|00001b90| 70 6c 61 63 65 20 47 49 | 46 20 65 6e 74 69 72 65 |place GI|F entire|
|00001ba0| 6c 79 3b 20 66 6f 72 20 | 73 6f 6d 65 20 74 79 70 |ly; for |some typ|
|00001bb0| 65 73 20 6f 66 20 69 6d | 61 67 65 73 2c 0a 47 49 |es of im|ages,.GI|
|00001bc0| 46 20 69 73 20 73 75 70 | 65 72 69 6f 72 20 69 6e |F is sup|erior in|
|00001bd0| 20 69 6d 61 67 65 20 71 | 75 61 6c 69 74 79 2c 20 | image q|uality, |
|00001be0| 66 69 6c 65 20 73 69 7a | 65 2c 20 6f 72 20 62 6f |file siz|e, or bo|
|00001bf0| 74 68 2e 20 20 4f 6e 65 | 20 6f 66 20 74 68 65 20 |th. One| of the |
|00001c00| 66 69 72 73 74 0a 74 68 | 69 6e 67 73 20 74 6f 20 |first.th|ings to |
|00001c10| 6c 65 61 72 6e 20 61 62 | 6f 75 74 20 4a 50 45 47 |learn ab|out JPEG|
|00001c20| 20 69 73 20 77 68 69 63 | 68 20 6b 69 6e 64 73 20 | is whic|h kinds |
|00001c30| 6f 66 20 69 6d 61 67 65 | 73 20 74 6f 20 61 70 70 |of image|s to app|
|00001c40| 6c 79 20 69 74 20 74 6f | 2e 0a 0a 47 65 6e 65 72 |ly it to|...Gener|
|00001c50| 61 6c 6c 79 20 73 70 65 | 61 6b 69 6e 67 2c 20 4a |ally spe|aking, J|
|00001c60| 50 45 47 20 69 73 20 73 | 75 70 65 72 69 6f 72 20 |PEG is s|uperior |
|00001c70| 74 6f 20 47 49 46 20 66 | 6f 72 20 73 74 6f 72 69 |to GIF f|or stori|
|00001c80| 6e 67 20 66 75 6c 6c 2d | 63 6f 6c 6f 72 20 6f 72 |ng full-|color or|
|00001c90| 0a 67 72 61 79 2d 73 63 | 61 6c 65 20 69 6d 61 67 |.gray-sc|ale imag|
|00001ca0| 65 73 20 6f 66 20 22 72 | 65 61 6c 69 73 74 69 63 |es of "r|ealistic|
|00001cb0| 22 20 73 63 65 6e 65 73 | 3b 20 74 68 61 74 20 6d |" scenes|; that m|
|00001cc0| 65 61 6e 73 20 73 63 61 | 6e 6e 65 64 20 70 68 6f |eans sca|nned pho|
|00001cd0| 74 6f 67 72 61 70 68 73 | 20 61 6e 64 0a 73 69 6d |tographs| and.sim|
|00001ce0| 69 6c 61 72 20 6d 61 74 | 65 72 69 61 6c 2e 20 20 |ilar mat|erial. |
|00001cf0| 41 6e 79 20 63 6f 6e 74 | 69 6e 75 6f 75 73 20 76 |Any cont|inuous v|
|00001d00| 61 72 69 61 74 69 6f 6e | 20 69 6e 20 63 6f 6c 6f |ariation| in colo|
|00001d10| 72 2c 20 73 75 63 68 20 | 61 73 20 6f 63 63 75 72 |r, such |as occur|
|00001d20| 73 20 69 6e 0a 68 69 67 | 68 6c 69 67 68 74 65 64 |s in.hig|hlighted|
|00001d30| 20 6f 72 20 73 68 61 64 | 65 64 20 61 72 65 61 73 | or shad|ed areas|
|00001d40| 2c 20 77 69 6c 6c 20 62 | 65 20 72 65 70 72 65 73 |, will b|e repres|
|00001d50| 65 6e 74 65 64 20 6d 6f | 72 65 20 66 61 69 74 68 |ented mo|re faith|
|00001d60| 66 75 6c 6c 79 20 61 6e | 64 20 69 6e 20 6c 65 73 |fully an|d in les|
|00001d70| 73 0a 73 70 61 63 65 20 | 62 79 20 4a 50 45 47 20 |s.space |by JPEG |
|00001d80| 74 68 61 6e 20 62 79 20 | 47 49 46 2e 0a 0a 47 49 |than by |GIF...GI|
|00001d90| 46 20 64 6f 65 73 20 73 | 69 67 6e 69 66 69 63 61 |F does s|ignifica|
|00001da0| 6e 74 6c 79 20 62 65 74 | 74 65 72 20 6f 6e 20 69 |ntly bet|ter on i|
|00001db0| 6d 61 67 65 73 20 77 69 | 74 68 20 6f 6e 6c 79 20 |mages wi|th only |
|00001dc0| 61 20 66 65 77 20 64 69 | 73 74 69 6e 63 74 20 63 |a few di|stinct c|
|00001dd0| 6f 6c 6f 72 73 2c 0a 73 | 75 63 68 20 61 73 20 6c |olors,.s|uch as l|
|00001de0| 69 6e 65 20 64 72 61 77 | 69 6e 67 73 20 61 6e 64 |ine draw|ings and|
|00001df0| 20 73 69 6d 70 6c 65 20 | 63 61 72 74 6f 6f 6e 73 | simple |cartoons|
|00001e00| 2e 20 20 4e 6f 74 20 6f | 6e 6c 79 20 69 73 20 47 |. Not o|nly is G|
|00001e10| 49 46 20 6c 6f 73 73 6c | 65 73 73 20 66 6f 72 0a |IF lossl|ess for.|
|00001e20| 73 75 63 68 20 69 6d 61 | 67 65 73 2c 20 62 75 74 |such ima|ges, but|
|00001e30| 20 69 74 20 6f 66 74 65 | 6e 20 63 6f 6d 70 72 65 | it ofte|n compre|
|00001e40| 73 73 65 73 20 74 68 65 | 6d 20 6d 6f 72 65 20 74 |sses the|m more t|
|00001e50| 68 61 6e 20 4a 50 45 47 | 20 63 61 6e 2e 20 20 46 |han JPEG| can. F|
|00001e60| 6f 72 20 65 78 61 6d 70 | 6c 65 2c 0a 6c 61 72 67 |or examp|le,.larg|
|00001e70| 65 20 61 72 65 61 73 20 | 6f 66 20 70 69 78 65 6c |e areas |of pixel|
|00001e80| 73 20 74 68 61 74 20 61 | 72 65 20 61 6c 6c 20 2a |s that a|re all *|
|00001e90| 65 78 61 63 74 6c 79 2a | 20 74 68 65 20 73 61 6d |exactly*| the sam|
|00001ea0| 65 20 63 6f 6c 6f 72 20 | 61 72 65 20 63 6f 6d 70 |e color |are comp|
|00001eb0| 72 65 73 73 65 64 0a 76 | 65 72 79 20 65 66 66 69 |ressed.v|ery effi|
|00001ec0| 63 69 65 6e 74 6c 79 20 | 69 6e 64 65 65 64 20 62 |ciently |indeed b|
|00001ed0| 79 20 47 49 46 2e 20 20 | 4a 50 45 47 20 63 61 6e |y GIF. |JPEG can|
|00001ee0| 27 74 20 73 71 75 65 65 | 7a 65 20 73 75 63 68 20 |'t squee|ze such |
|00001ef0| 64 61 74 61 20 61 73 20 | 6d 75 63 68 20 61 73 20 |data as |much as |
|00001f00| 47 49 46 0a 64 6f 65 73 | 20 77 69 74 68 6f 75 74 |GIF.does| without|
|00001f10| 20 69 6e 74 72 6f 64 75 | 63 69 6e 67 20 76 69 73 | introdu|cing vis|
|00001f20| 69 62 6c 65 20 64 65 66 | 65 63 74 73 2e 20 20 28 |ible def|ects. (|
|00001f30| 4f 6e 65 20 69 6d 70 6c | 69 63 61 74 69 6f 6e 20 |One impl|ication |
|00001f40| 6f 66 20 74 68 69 73 20 | 69 73 20 74 68 61 74 0a |of this |is that.|
|00001f50| 6c 61 72 67 65 20 73 69 | 6e 67 6c 65 2d 63 6f 6c |large si|ngle-col|
|00001f60| 6f 72 20 62 6f 72 64 65 | 72 73 20 61 72 65 20 71 |or borde|rs are q|
|00001f70| 75 69 74 65 20 63 68 65 | 61 70 20 69 6e 20 47 49 |uite che|ap in GI|
|00001f80| 46 20 66 69 6c 65 73 2c | 20 77 68 69 6c 65 20 74 |F files,| while t|
|00001f90| 68 65 79 20 61 72 65 20 | 62 65 73 74 0a 61 76 6f |hey are |best.avo|
|00001fa0| 69 64 65 64 20 69 6e 20 | 4a 50 45 47 20 66 69 6c |ided in |JPEG fil|
|00001fb0| 65 73 2e 29 0a 0a 43 6f | 6d 70 75 74 65 72 2d 64 |es.)..Co|mputer-d|
|00001fc0| 72 61 77 6e 20 69 6d 61 | 67 65 73 2c 20 73 75 63 |rawn ima|ges, suc|
|00001fd0| 68 20 61 73 20 72 61 79 | 2d 74 72 61 63 65 64 20 |h as ray|-traced |
|00001fe0| 73 63 65 6e 65 73 2c 20 | 75 73 75 61 6c 6c 79 20 |scenes, |usually |
|00001ff0| 66 61 6c 6c 20 62 65 74 | 77 65 65 6e 0a 70 68 6f |fall bet|ween.pho|
|00002000| 74 6f 67 72 61 70 68 73 | 20 61 6e 64 20 63 61 72 |tographs| and car|
|00002010| 74 6f 6f 6e 73 20 69 6e | 20 74 65 72 6d 73 20 6f |toons in| terms o|
|00002020| 66 20 63 6f 6d 70 6c 65 | 78 69 74 79 2e 20 20 54 |f comple|xity. T|
|00002030| 68 65 20 6d 6f 72 65 20 | 63 6f 6d 70 6c 65 78 20 |he more |complex |
|00002040| 61 6e 64 0a 73 75 62 74 | 6c 79 20 72 65 6e 64 65 |and.subt|ly rende|
|00002050| 72 65 64 20 74 68 65 20 | 69 6d 61 67 65 2c 20 74 |red the |image, t|
|00002060| 68 65 20 6d 6f 72 65 20 | 6c 69 6b 65 6c 79 20 74 |he more |likely t|
|00002070| 68 61 74 20 4a 50 45 47 | 20 77 69 6c 6c 20 64 6f |hat JPEG| will do|
|00002080| 20 77 65 6c 6c 20 6f 6e | 20 69 74 2e 0a 54 68 65 | well on| it..The|
|00002090| 20 73 61 6d 65 20 67 6f | 65 73 20 66 6f 72 20 73 | same go|es for s|
|000020a0| 65 6d 69 2d 72 65 61 6c | 69 73 74 69 63 20 61 72 |emi-real|istic ar|
|000020b0| 74 77 6f 72 6b 20 28 66 | 61 6e 74 61 73 79 20 64 |twork (f|antasy d|
|000020c0| 72 61 77 69 6e 67 73 20 | 61 6e 64 20 73 75 63 68 |rawings |and such|
|000020d0| 29 2e 0a 42 75 74 20 69 | 63 6f 6e 73 20 74 68 61 |)..But i|cons tha|
|000020e0| 74 20 75 73 65 20 6f 6e | 6c 79 20 61 20 66 65 77 |t use on|ly a few|
|000020f0| 20 63 6f 6c 6f 72 73 20 | 61 72 65 20 68 61 6e 64 | colors |are hand|
|00002100| 6c 65 64 20 62 65 74 74 | 65 72 20 62 79 20 47 49 |led bett|er by GI|
|00002110| 46 2e 0a 0a 4a 50 45 47 | 20 68 61 73 20 61 20 68 |F...JPEG| has a h|
|00002120| 61 72 64 20 74 69 6d 65 | 20 77 69 74 68 20 76 65 |ard time| with ve|
|00002130| 72 79 20 73 68 61 72 70 | 20 65 64 67 65 73 3a 20 |ry sharp| edges: |
|00002140| 61 20 72 6f 77 20 6f 66 | 20 70 75 72 65 2d 62 6c |a row of| pure-bl|
|00002150| 61 63 6b 20 70 69 78 65 | 6c 73 0a 61 64 6a 61 63 |ack pixe|ls.adjac|
|00002160| 65 6e 74 20 74 6f 20 61 | 20 72 6f 77 20 6f 66 20 |ent to a| row of |
|00002170| 70 75 72 65 2d 77 68 69 | 74 65 20 70 69 78 65 6c |pure-whi|te pixel|
|00002180| 73 2c 20 66 6f 72 20 65 | 78 61 6d 70 6c 65 2e 20 |s, for e|xample. |
|00002190| 20 53 68 61 72 70 20 65 | 64 67 65 73 20 74 65 6e | Sharp e|dges ten|
|000021a0| 64 20 74 6f 0a 63 6f 6d | 65 20 6f 75 74 20 62 6c |d to.com|e out bl|
|000021b0| 75 72 72 65 64 20 75 6e | 6c 65 73 73 20 79 6f 75 |urred un|less you|
|000021c0| 20 75 73 65 20 61 20 76 | 65 72 79 20 68 69 67 68 | use a v|ery high|
|000021d0| 20 71 75 61 6c 69 74 79 | 20 73 65 74 74 69 6e 67 | quality| setting|
|000021e0| 2e 20 20 45 64 67 65 73 | 20 74 68 69 73 0a 73 68 |. Edges| this.sh|
|000021f0| 61 72 70 20 61 72 65 20 | 72 61 72 65 20 69 6e 20 |arp are |rare in |
|00002200| 73 63 61 6e 6e 65 64 20 | 70 68 6f 74 6f 67 72 61 |scanned |photogra|
|00002210| 70 68 73 2c 20 62 75 74 | 20 61 72 65 20 66 61 69 |phs, but| are fai|
|00002220| 72 6c 79 20 63 6f 6d 6d | 6f 6e 20 69 6e 20 47 49 |rly comm|on in GI|
|00002230| 46 20 66 69 6c 65 73 3a | 0a 63 6f 6e 73 69 64 65 |F files:|.conside|
|00002240| 72 20 62 6f 72 64 65 72 | 73 2c 20 6f 76 65 72 6c |r border|s, overl|
|00002250| 61 69 64 20 74 65 78 74 | 2c 20 65 74 63 2e 20 20 |aid text|, etc. |
|00002260| 54 68 65 20 62 6c 75 72 | 72 69 6e 65 73 73 20 69 |The blur|riness i|
|00002270| 73 20 70 61 72 74 69 63 | 75 6c 61 72 6c 79 0a 6f |s partic|ularly.o|
|00002280| 62 6a 65 63 74 69 6f 6e | 61 62 6c 65 20 77 69 74 |bjection|able wit|
|00002290| 68 20 74 65 78 74 20 74 | 68 61 74 27 73 20 6f 6e |h text t|hat's on|
|000022a0| 6c 79 20 61 20 66 65 77 | 20 70 69 78 65 6c 73 20 |ly a few| pixels |
|000022b0| 68 69 67 68 2e 20 20 49 | 66 20 79 6f 75 20 68 61 |high. I|f you ha|
|000022c0| 76 65 20 61 20 47 49 46 | 0a 77 69 74 68 20 61 20 |ve a GIF|.with a |
|000022d0| 6c 6f 74 20 6f 66 20 73 | 6d 61 6c 6c 2d 73 69 7a |lot of s|mall-siz|
|000022e0| 65 20 6f 76 65 72 6c 61 | 69 64 20 74 65 78 74 2c |e overla|id text,|
|000022f0| 20 64 6f 6e 27 74 20 4a | 50 45 47 20 69 74 2e 20 | don't J|PEG it. |
|00002300| 20 28 49 66 20 79 6f 75 | 20 77 61 6e 74 20 74 6f | (If you| want to|
|00002310| 0a 61 74 74 61 63 68 20 | 64 65 73 63 72 69 70 74 |.attach |descript|
|00002320| 69 76 65 20 74 65 78 74 | 20 74 6f 20 61 20 4a 50 |ive text| to a JP|
|00002330| 45 47 20 69 6d 61 67 65 | 2c 20 70 75 74 20 69 74 |EG image|, put it|
|00002340| 20 69 6e 20 61 73 20 61 | 20 63 6f 6d 6d 65 6e 74 | in as a| comment|
|00002350| 20 72 61 74 68 65 72 20 | 74 68 61 6e 0a 74 72 79 | rather |than.try|
|00002360| 69 6e 67 20 74 6f 20 6f | 76 65 72 6c 61 79 20 69 |ing to o|verlay i|
|00002370| 74 20 6f 6e 20 74 68 65 | 20 69 6d 61 67 65 2e 20 |t on the| image. |
|00002380| 20 4d 6f 73 74 20 72 65 | 63 65 6e 74 20 4a 50 45 | Most re|cent JPE|
|00002390| 47 20 73 6f 66 74 77 61 | 72 65 20 63 61 6e 20 64 |G softwa|re can d|
|000023a0| 65 61 6c 20 77 69 74 68 | 0a 74 65 78 74 75 61 6c |eal with|.textual|
|000023b0| 20 63 6f 6d 6d 65 6e 74 | 73 20 69 6e 20 61 20 4a | comment|s in a J|
|000023c0| 50 45 47 20 66 69 6c 65 | 2c 20 61 6c 74 68 6f 75 |PEG file|, althou|
|000023d0| 67 68 20 6f 6c 64 65 72 | 20 76 69 65 77 65 72 73 |gh older| viewers|
|000023e0| 20 6d 61 79 20 6a 75 73 | 74 20 69 67 6e 6f 72 65 | may jus|t ignore|
|000023f0| 20 74 68 65 0a 63 6f 6d | 6d 65 6e 74 73 2e 29 0a | the.com|ments.).|
|00002400| 0a 50 6c 61 69 6e 20 62 | 6c 61 63 6b 2d 61 6e 64 |.Plain b|lack-and|
|00002410| 2d 77 68 69 74 65 20 28 | 74 77 6f 20 6c 65 76 65 |-white (|two leve|
|00002420| 6c 29 20 69 6d 61 67 65 | 73 20 73 68 6f 75 6c 64 |l) image|s should|
|00002430| 20 6e 65 76 65 72 20 62 | 65 20 63 6f 6e 76 65 72 | never b|e conver|
|00002440| 74 65 64 20 74 6f 20 4a | 50 45 47 3b 0a 74 68 65 |ted to J|PEG;.the|
|00002450| 79 20 76 69 6f 6c 61 74 | 65 20 61 6c 6c 20 6f 66 |y violat|e all of|
|00002460| 20 74 68 65 20 63 6f 6e | 64 69 74 69 6f 6e 73 20 | the con|ditions |
|00002470| 67 69 76 65 6e 20 61 62 | 6f 76 65 2e 20 20 59 6f |given ab|ove. Yo|
|00002480| 75 20 6e 65 65 64 20 61 | 74 20 6c 65 61 73 74 20 |u need a|t least |
|00002490| 61 62 6f 75 74 0a 31 36 | 20 67 72 61 79 20 6c 65 |about.16| gray le|
|000024a0| 76 65 6c 73 20 62 65 66 | 6f 72 65 20 4a 50 45 47 |vels bef|ore JPEG|
|000024b0| 20 69 73 20 75 73 65 66 | 75 6c 20 66 6f 72 20 67 | is usef|ul for g|
|000024c0| 72 61 79 2d 73 63 61 6c | 65 20 69 6d 61 67 65 73 |ray-scal|e images|
|000024d0| 2e 20 20 49 74 20 73 68 | 6f 75 6c 64 20 61 6c 73 |. It sh|ould als|
|000024e0| 6f 0a 62 65 20 6e 6f 74 | 65 64 20 74 68 61 74 20 |o.be not|ed that |
|000024f0| 47 49 46 20 69 73 20 6c | 6f 73 73 6c 65 73 73 20 |GIF is l|ossless |
|00002500| 66 6f 72 20 67 72 61 79 | 2d 73 63 61 6c 65 20 69 |for gray|-scale i|
|00002510| 6d 61 67 65 73 20 6f 66 | 20 75 70 20 74 6f 20 32 |mages of| up to 2|
|00002520| 35 36 20 6c 65 76 65 6c | 73 2c 0a 77 68 69 6c 65 |56 level|s,.while|
|00002530| 20 4a 50 45 47 20 69 73 | 20 6e 6f 74 2e 0a 0a 49 | JPEG is| not...I|
|00002540| 66 20 79 6f 75 20 68 61 | 76 65 20 61 20 6c 61 72 |f you ha|ve a lar|
|00002550| 67 65 20 6c 69 62 72 61 | 72 79 20 6f 66 20 47 49 |ge libra|ry of GI|
|00002560| 46 20 69 6d 61 67 65 73 | 2c 20 79 6f 75 20 6d 61 |F images|, you ma|
|00002570| 79 20 77 61 6e 74 20 74 | 6f 20 73 61 76 65 20 73 |y want t|o save s|
|00002580| 70 61 63 65 20 62 79 0a | 63 6f 6e 76 65 72 74 69 |pace by.|converti|
|00002590| 6e 67 20 74 68 65 20 47 | 49 46 73 20 74 6f 20 4a |ng the G|IFs to J|
|000025a0| 50 45 47 2e 20 20 54 68 | 69 73 20 69 73 20 74 72 |PEG. Th|is is tr|
|000025b0| 69 63 6b 69 65 72 20 74 | 68 61 6e 20 69 74 20 6d |ickier t|han it m|
|000025c0| 61 79 20 73 65 65 6d 20 | 2d 2d 2d 20 65 76 65 6e |ay seem |--- even|
|000025d0| 0a 77 68 65 6e 20 74 68 | 65 20 47 49 46 73 20 63 |.when th|e GIFs c|
|000025e0| 6f 6e 74 61 69 6e 20 70 | 68 6f 74 6f 67 72 61 70 |ontain p|hotograp|
|000025f0| 68 69 63 20 69 6d 61 67 | 65 73 2c 20 74 68 65 79 |hic imag|es, they|
|00002600| 20 61 72 65 20 61 63 74 | 75 61 6c 6c 79 20 76 65 | are act|ually ve|
|00002610| 72 79 20 70 6f 6f 72 0a | 73 6f 75 72 63 65 20 6d |ry poor.|source m|
|00002620| 61 74 65 72 69 61 6c 20 | 66 6f 72 20 4a 50 45 47 |aterial |for JPEG|
|00002630| 2c 20 62 65 63 61 75 73 | 65 20 74 68 65 20 69 6d |, becaus|e the im|
|00002640| 61 67 65 73 20 68 61 76 | 65 20 62 65 65 6e 20 63 |ages hav|e been c|
|00002650| 6f 6c 6f 72 2d 72 65 64 | 75 63 65 64 2e 0a 4e 6f |olor-red|uced..No|
|00002660| 6e 2d 70 68 6f 74 6f 67 | 72 61 70 68 69 63 20 69 |n-photog|raphic i|
|00002670| 6d 61 67 65 73 20 73 68 | 6f 75 6c 64 20 67 65 6e |mages sh|ould gen|
|00002680| 65 72 61 6c 6c 79 20 62 | 65 20 6c 65 66 74 20 69 |erally b|e left i|
|00002690| 6e 20 47 49 46 20 66 6f | 72 6d 2e 20 20 47 6f 6f |n GIF fo|rm. Goo|
|000026a0| 64 2d 71 75 61 6c 69 74 | 79 0a 70 68 6f 74 6f 67 |d-qualit|y.photog|
|000026b0| 72 61 70 68 69 63 20 47 | 49 46 73 20 63 61 6e 20 |raphic G|IFs can |
|000026c0| 6f 66 74 65 6e 20 62 65 | 20 63 6f 6e 76 65 72 74 |often be| convert|
|000026d0| 65 64 20 77 69 74 68 20 | 6e 6f 20 76 69 73 69 62 |ed with |no visib|
|000026e0| 6c 65 20 71 75 61 6c 69 | 74 79 20 6c 6f 73 73 2c |le quali|ty loss,|
|000026f0| 20 62 75 74 0a 6f 6e 6c | 79 20 69 66 20 79 6f 75 | but.onl|y if you|
|00002700| 20 6b 6e 6f 77 20 77 68 | 61 74 20 79 6f 75 20 61 | know wh|at you a|
|00002710| 72 65 20 64 6f 69 6e 67 | 20 61 6e 64 20 79 6f 75 |re doing| and you|
|00002720| 20 74 61 6b 65 20 74 68 | 65 20 74 69 6d 65 20 74 | take th|e time t|
|00002730| 6f 20 77 6f 72 6b 20 6f | 6e 20 65 61 63 68 0a 69 |o work o|n each.i|
|00002740| 6d 61 67 65 20 69 6e 64 | 69 76 69 64 75 61 6c 6c |mage ind|ividuall|
|00002750| 79 2e 20 20 4f 74 68 65 | 72 77 69 73 65 20 79 6f |y. Othe|rwise yo|
|00002760| 75 27 72 65 20 6c 69 6b | 65 6c 79 20 74 6f 20 6c |u're lik|ely to l|
|00002770| 6f 73 65 20 61 20 6c 6f | 74 20 6f 66 20 69 6d 61 |ose a lo|t of ima|
|00002780| 67 65 20 71 75 61 6c 69 | 74 79 0a 6f 72 20 77 61 |ge quali|ty.or wa|
|00002790| 73 74 65 20 61 20 6c 6f | 74 20 6f 66 20 64 69 73 |ste a lo|t of dis|
|000027a0| 6b 20 73 70 61 63 65 20 | 2e 2e 2e 20 71 75 69 74 |k space |... quit|
|000027b0| 65 20 70 6f 73 73 69 62 | 6c 79 20 62 6f 74 68 2e |e possib|ly both.|
|000027c0| 20 20 52 65 61 64 20 73 | 65 63 74 69 6f 6e 73 20 | Read s|ections |
|000027d0| 38 20 61 6e 64 20 39 0a | 69 66 20 79 6f 75 20 77 |8 and 9.|if you w|
|000027e0| 61 6e 74 20 74 6f 20 63 | 6f 6e 76 65 72 74 20 47 |ant to c|onvert G|
|000027f0| 49 46 73 20 74 6f 20 4a | 50 45 47 2e 0a 0a 2d 2d |IFs to J|PEG...--|
|00002800| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002810| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 0a 0a 53 75 |--------|----..Su|
|00002820| 62 6a 65 63 74 3a 20 5b | 34 5d 20 48 6f 77 20 77 |bject: [|4] How w|
|00002830| 65 6c 6c 20 64 6f 65 73 | 20 4a 50 45 47 20 63 6f |ell does| JPEG co|
|00002840| 6d 70 72 65 73 73 20 69 | 6d 61 67 65 73 3f 0a 0a |mpress i|mages?..|
|00002850| 56 65 72 79 20 77 65 6c | 6c 20 69 6e 64 65 65 64 |Very wel|l indeed|
|00002860| 2c 20 77 68 65 6e 20 77 | 6f 72 6b 69 6e 67 20 77 |, when w|orking w|
|00002870| 69 74 68 20 69 74 73 20 | 69 6e 74 65 6e 64 65 64 |ith its |intended|
|00002880| 20 74 79 70 65 20 6f 66 | 20 69 6d 61 67 65 20 28 | type of| image (|
|00002890| 70 68 6f 74 6f 67 72 61 | 70 68 73 0a 61 6e 64 20 |photogra|phs.and |
|000028a0| 73 75 63 68 6c 69 6b 65 | 29 2e 20 20 46 6f 72 20 |suchlike|). For |
|000028b0| 66 75 6c 6c 2d 63 6f 6c | 6f 72 20 69 6d 61 67 65 |full-col|or image|
|000028c0| 73 2c 20 74 68 65 20 75 | 6e 63 6f 6d 70 72 65 73 |s, the u|ncompres|
|000028d0| 73 65 64 20 64 61 74 61 | 20 69 73 20 6e 6f 72 6d |sed data| is norm|
|000028e0| 61 6c 6c 79 20 32 34 0a | 62 69 74 73 2f 70 69 78 |ally 24.|bits/pix|
|000028f0| 65 6c 2e 20 20 54 68 65 | 20 62 65 73 74 20 6b 6e |el. The| best kn|
|00002900| 6f 77 6e 20 6c 6f 73 73 | 6c 65 73 73 20 63 6f 6d |own loss|less com|
|00002910| 70 72 65 73 73 69 6f 6e | 20 6d 65 74 68 6f 64 73 |pression| methods|
|00002920| 20 63 61 6e 20 63 6f 6d | 70 72 65 73 73 20 73 75 | can com|press su|
|00002930| 63 68 0a 64 61 74 61 20 | 61 62 6f 75 74 20 32 3a |ch.data |about 2:|
|00002940| 31 20 6f 6e 20 61 76 65 | 72 61 67 65 2e 20 20 4a |1 on ave|rage. J|
|00002950| 50 45 47 20 63 61 6e 20 | 74 79 70 69 63 61 6c 6c |PEG can |typicall|
|00002960| 79 20 61 63 68 69 65 76 | 65 20 31 30 3a 31 20 74 |y achiev|e 10:1 t|
|00002970| 6f 20 32 30 3a 31 0a 63 | 6f 6d 70 72 65 73 73 69 |o 20:1.c|ompressi|
|00002980| 6f 6e 20 77 69 74 68 6f | 75 74 20 76 69 73 69 62 |on witho|ut visib|
|00002990| 6c 65 20 6c 6f 73 73 2c | 20 62 72 69 6e 67 69 6e |le loss,| bringin|
|000029a0| 67 20 74 68 65 20 65 66 | 66 65 63 74 69 76 65 20 |g the ef|fective |
|000029b0| 73 74 6f 72 61 67 65 20 | 72 65 71 75 69 72 65 6d |storage |requirem|
|000029c0| 65 6e 74 0a 64 6f 77 6e | 20 74 6f 20 31 20 74 6f |ent.down| to 1 to|
|000029d0| 20 32 20 62 69 74 73 2f | 70 69 78 65 6c 2e 20 20 | 2 bits/|pixel. |
|000029e0| 33 30 3a 31 20 74 6f 20 | 35 30 3a 31 20 63 6f 6d |30:1 to |50:1 com|
|000029f0| 70 72 65 73 73 69 6f 6e | 20 69 73 20 70 6f 73 73 |pression| is poss|
|00002a00| 69 62 6c 65 20 77 69 74 | 68 20 73 6d 61 6c 6c 0a |ible wit|h small.|
|00002a10| 74 6f 20 6d 6f 64 65 72 | 61 74 65 20 64 65 66 65 |to moder|ate defe|
|00002a20| 63 74 73 2c 20 77 68 69 | 6c 65 20 66 6f 72 20 76 |cts, whi|le for v|
|00002a30| 65 72 79 2d 6c 6f 77 2d | 71 75 61 6c 69 74 79 20 |ery-low-|quality |
|00002a40| 70 75 72 70 6f 73 65 73 | 20 73 75 63 68 20 61 73 |purposes| such as|
|00002a50| 20 70 72 65 76 69 65 77 | 73 20 6f 72 0a 61 72 63 | preview|s or.arc|
|00002a60| 68 69 76 65 20 69 6e 64 | 65 78 65 73 2c 20 31 30 |hive ind|exes, 10|
|00002a70| 30 3a 31 20 63 6f 6d 70 | 72 65 73 73 69 6f 6e 20 |0:1 comp|ression |
|00002a80| 69 73 20 71 75 69 74 65 | 20 66 65 61 73 69 62 6c |is quite| feasibl|
|00002a90| 65 2e 20 20 41 6e 20 69 | 6d 61 67 65 20 63 6f 6d |e. An i|mage com|
|00002aa0| 70 72 65 73 73 65 64 0a | 31 30 30 3a 31 20 77 69 |pressed.|100:1 wi|
|00002ab0| 74 68 20 4a 50 45 47 20 | 74 61 6b 65 73 20 75 70 |th JPEG |takes up|
|00002ac0| 20 74 68 65 20 73 61 6d | 65 20 73 70 61 63 65 20 | the sam|e space |
|00002ad0| 61 73 20 61 20 66 75 6c | 6c 2d 63 6f 6c 6f 72 20 |as a ful|l-color |
|00002ae0| 6f 6e 65 2d 74 65 6e 74 | 68 2d 73 63 61 6c 65 0a |one-tent|h-scale.|
|00002af0| 74 68 75 6d 62 6e 61 69 | 6c 20 69 6d 61 67 65 2c |thumbnai|l image,|
|00002b00| 20 79 65 74 20 69 74 20 | 72 65 74 61 69 6e 73 20 | yet it |retains |
|00002b10| 6d 75 63 68 20 6d 6f 72 | 65 20 64 65 74 61 69 6c |much mor|e detail|
|00002b20| 20 74 68 61 6e 20 73 75 | 63 68 20 61 20 74 68 75 | than su|ch a thu|
|00002b30| 6d 62 6e 61 69 6c 2e 0a | 0a 46 6f 72 20 63 6f 6d |mbnail..|.For com|
|00002b40| 70 61 72 69 73 6f 6e 2c | 20 61 20 47 49 46 20 76 |parison,| a GIF v|
|00002b50| 65 72 73 69 6f 6e 20 6f | 66 20 74 68 65 20 73 61 |ersion o|f the sa|
|00002b60| 6d 65 20 69 6d 61 67 65 | 20 77 6f 75 6c 64 20 73 |me image| would s|
|00002b70| 74 61 72 74 20 6f 75 74 | 20 62 79 0a 73 61 63 72 |tart out| by.sacr|
|00002b80| 69 66 69 63 69 6e 67 20 | 6d 6f 73 74 20 6f 66 20 |ificing |most of |
|00002b90| 74 68 65 20 63 6f 6c 6f | 72 20 69 6e 66 6f 72 6d |the colo|r inform|
|00002ba0| 61 74 69 6f 6e 20 74 6f | 20 72 65 64 75 63 65 20 |ation to| reduce |
|00002bb0| 74 68 65 20 69 6d 61 67 | 65 20 74 6f 20 32 35 36 |the imag|e to 256|
|00002bc0| 20 63 6f 6c 6f 72 73 0a | 28 38 20 62 69 74 73 2f | colors.|(8 bits/|
|00002bd0| 70 69 78 65 6c 29 2e 20 | 20 54 68 69 73 20 70 72 |pixel). | This pr|
|00002be0| 6f 76 69 64 65 73 20 33 | 3a 31 20 63 6f 6d 70 72 |ovides 3|:1 compr|
|00002bf0| 65 73 73 69 6f 6e 2e 20 | 20 47 49 46 20 68 61 73 |ession. | GIF has|
|00002c00| 20 61 64 64 69 74 69 6f | 6e 61 6c 20 22 4c 5a 57 | additio|nal "LZW|
|00002c10| 22 0a 63 6f 6d 70 72 65 | 73 73 69 6f 6e 20 62 75 |".compre|ssion bu|
|00002c20| 69 6c 74 20 69 6e 2c 20 | 62 75 74 20 4c 5a 57 20 |ilt in, |but LZW |
|00002c30| 64 6f 65 73 6e 27 74 20 | 77 6f 72 6b 20 76 65 72 |doesn't |work ver|
|00002c40| 79 20 77 65 6c 6c 20 6f | 6e 20 74 79 70 69 63 61 |y well o|n typica|
|00002c50| 6c 20 70 68 6f 74 6f 67 | 72 61 70 68 69 63 0a 64 |l photog|raphic.d|
|00002c60| 61 74 61 3b 20 61 74 20 | 6d 6f 73 74 20 79 6f 75 |ata; at |most you|
|00002c70| 20 6d 61 79 20 67 65 74 | 20 35 3a 31 20 63 6f 6d | may get| 5:1 com|
|00002c80| 70 72 65 73 73 69 6f 6e | 20 6f 76 65 72 61 6c 6c |pression| overall|
|00002c90| 2c 20 61 6e 64 20 69 74 | 27 73 20 6e 6f 74 20 61 |, and it|'s not a|
|00002ca0| 74 20 61 6c 6c 0a 75 6e | 63 6f 6d 6d 6f 6e 20 66 |t all.un|common f|
|00002cb0| 6f 72 20 4c 5a 57 20 74 | 6f 20 62 65 20 61 20 6e |or LZW t|o be a n|
|00002cc0| 65 74 20 6c 6f 73 73 20 | 28 69 2e 65 2e 2c 20 6c |et loss |(i.e., l|
|00002cd0| 65 73 73 20 74 68 61 6e | 20 33 3a 31 20 6f 76 65 |ess than| 3:1 ove|
|00002ce0| 72 61 6c 6c 20 63 6f 6d | 70 72 65 73 73 69 6f 6e |rall com|pression|
|00002cf0| 29 2e 0a 4c 5a 57 20 2a | 64 6f 65 73 2a 20 77 6f |)..LZW *|does* wo|
|00002d00| 72 6b 20 77 65 6c 6c 20 | 6f 6e 20 73 69 6d 70 6c |rk well |on simpl|
|00002d10| 65 72 20 69 6d 61 67 65 | 73 20 73 75 63 68 20 61 |er image|s such a|
|00002d20| 73 20 6c 69 6e 65 20 64 | 72 61 77 69 6e 67 73 2c |s line d|rawings,|
|00002d30| 20 77 68 69 63 68 20 69 | 73 20 77 68 79 0a 47 49 | which i|s why.GI|
|00002d40| 46 20 68 61 6e 64 6c 65 | 73 20 74 68 61 74 20 73 |F handle|s that s|
|00002d50| 6f 72 74 20 6f 66 20 69 | 6d 61 67 65 20 73 6f 20 |ort of i|mage so |
|00002d60| 77 65 6c 6c 2e 20 20 57 | 68 65 6e 20 61 20 4a 50 |well. W|hen a JP|
|00002d70| 45 47 20 66 69 6c 65 20 | 69 73 20 6d 61 64 65 20 |EG file |is made |
|00002d80| 66 72 6f 6d 0a 66 75 6c | 6c 2d 63 6f 6c 6f 72 20 |from.ful|l-color |
|00002d90| 70 68 6f 74 6f 67 72 61 | 70 68 69 63 20 64 61 74 |photogra|phic dat|
|00002da0| 61 2c 20 75 73 69 6e 67 | 20 61 20 71 75 61 6c 69 |a, using| a quali|
|00002db0| 74 79 20 73 65 74 74 69 | 6e 67 20 6a 75 73 74 20 |ty setti|ng just |
|00002dc0| 68 69 67 68 20 65 6e 6f | 75 67 68 20 74 6f 0a 70 |high eno|ugh to.p|
|00002dd0| 72 65 76 65 6e 74 20 76 | 69 73 69 62 6c 65 20 6c |revent v|isible l|
|00002de0| 6f 73 73 2c 20 74 68 65 | 20 4a 50 45 47 20 77 69 |oss, the| JPEG wi|
|00002df0| 6c 6c 20 74 79 70 69 63 | 61 6c 6c 79 20 62 65 20 |ll typic|ally be |
|00002e00| 61 20 66 61 63 74 6f 72 | 20 6f 66 20 66 6f 75 72 |a factor| of four|
|00002e10| 20 6f 72 20 66 69 76 65 | 0a 73 6d 61 6c 6c 65 72 | or five|.smaller|
|00002e20| 20 74 68 61 6e 20 61 20 | 47 49 46 20 66 69 6c 65 | than a |GIF file|
|00002e30| 20 6d 61 64 65 20 66 72 | 6f 6d 20 74 68 65 20 73 | made fr|om the s|
|00002e40| 61 6d 65 20 64 61 74 61 | 2e 0a 0a 47 72 61 79 2d |ame data|...Gray-|
|00002e50| 73 63 61 6c 65 20 69 6d | 61 67 65 73 20 64 6f 20 |scale im|ages do |
|00002e60| 6e 6f 74 20 63 6f 6d 70 | 72 65 73 73 20 62 79 20 |not comp|ress by |
|00002e70| 73 75 63 68 20 6c 61 72 | 67 65 20 66 61 63 74 6f |such lar|ge facto|
|00002e80| 72 73 2e 20 20 42 65 63 | 61 75 73 65 20 74 68 65 |rs. Bec|ause the|
|00002e90| 20 68 75 6d 61 6e 0a 65 | 79 65 20 69 73 20 6d 75 | human.e|ye is mu|
|00002ea0| 63 68 20 6d 6f 72 65 20 | 73 65 6e 73 69 74 69 76 |ch more |sensitiv|
|00002eb0| 65 20 74 6f 20 62 72 69 | 67 68 74 6e 65 73 73 20 |e to bri|ghtness |
|00002ec0| 76 61 72 69 61 74 69 6f | 6e 73 20 74 68 61 6e 20 |variatio|ns than |
|00002ed0| 74 6f 20 68 75 65 20 76 | 61 72 69 61 74 69 6f 6e |to hue v|ariation|
|00002ee0| 73 2c 0a 4a 50 45 47 20 | 63 61 6e 20 63 6f 6d 70 |s,.JPEG |can comp|
|00002ef0| 72 65 73 73 20 68 75 65 | 20 64 61 74 61 20 6d 6f |ress hue| data mo|
|00002f00| 72 65 20 68 65 61 76 69 | 6c 79 20 74 68 61 6e 20 |re heavi|ly than |
|00002f10| 62 72 69 67 68 74 6e 65 | 73 73 20 28 67 72 61 79 |brightne|ss (gray|
|00002f20| 2d 73 63 61 6c 65 29 20 | 64 61 74 61 2e 0a 41 20 |-scale) |data..A |
|00002f30| 67 72 61 79 2d 73 63 61 | 6c 65 20 4a 50 45 47 20 |gray-sca|le JPEG |
|00002f40| 66 69 6c 65 20 69 73 20 | 67 65 6e 65 72 61 6c 6c |file is |generall|
|00002f50| 79 20 6f 6e 6c 79 20 61 | 62 6f 75 74 20 31 30 25 |y only a|bout 10%|
|00002f60| 2d 32 35 25 20 73 6d 61 | 6c 6c 65 72 20 74 68 61 |-25% sma|ller tha|
|00002f70| 6e 20 61 0a 66 75 6c 6c | 2d 63 6f 6c 6f 72 20 4a |n a.full|-color J|
|00002f80| 50 45 47 20 66 69 6c 65 | 20 6f 66 20 73 69 6d 69 |PEG file| of simi|
|00002f90| 6c 61 72 20 76 69 73 75 | 61 6c 20 71 75 61 6c 69 |lar visu|al quali|
|00002fa0| 74 79 2e 20 20 42 75 74 | 20 74 68 65 20 75 6e 63 |ty. But| the unc|
|00002fb0| 6f 6d 70 72 65 73 73 65 | 64 0a 67 72 61 79 2d 73 |ompresse|d.gray-s|
|00002fc0| 63 61 6c 65 20 64 61 74 | 61 20 69 73 20 6f 6e 6c |cale dat|a is onl|
|00002fd0| 79 20 38 20 62 69 74 73 | 2f 70 69 78 65 6c 2c 20 |y 8 bits|/pixel, |
|00002fe0| 6f 72 20 6f 6e 65 2d 74 | 68 69 72 64 20 74 68 65 |or one-t|hird the|
|00002ff0| 20 73 69 7a 65 20 6f 66 | 20 74 68 65 20 63 6f 6c | size of| the col|
|00003000| 6f 72 0a 64 61 74 61 2c | 20 73 6f 20 74 68 65 20 |or.data,| so the |
|00003010| 63 61 6c 63 75 6c 61 74 | 65 64 20 63 6f 6d 70 72 |calculat|ed compr|
|00003020| 65 73 73 69 6f 6e 20 72 | 61 74 69 6f 20 69 73 20 |ession r|atio is |
|00003030| 6d 75 63 68 20 6c 6f 77 | 65 72 2e 20 20 54 68 65 |much low|er. The|
|00003040| 20 74 68 72 65 73 68 6f | 6c 64 20 6f 66 0a 76 69 | thresho|ld of.vi|
|00003050| 73 69 62 6c 65 20 6c 6f | 73 73 20 69 73 20 6f 66 |sible lo|ss is of|
|00003060| 74 65 6e 20 61 72 6f 75 | 6e 64 20 35 3a 31 20 63 |ten arou|nd 5:1 c|
|00003070| 6f 6d 70 72 65 73 73 69 | 6f 6e 20 66 6f 72 20 67 |ompressi|on for g|
|00003080| 72 61 79 2d 73 63 61 6c | 65 20 69 6d 61 67 65 73 |ray-scal|e images|
|00003090| 2e 0a 0a 54 68 65 20 65 | 78 61 63 74 20 74 68 72 |...The e|xact thr|
|000030a0| 65 73 68 6f 6c 64 20 61 | 74 20 77 68 69 63 68 20 |eshold a|t which |
|000030b0| 65 72 72 6f 72 73 20 62 | 65 63 6f 6d 65 20 76 69 |errors b|ecome vi|
|000030c0| 73 69 62 6c 65 20 64 65 | 70 65 6e 64 73 20 6f 6e |sible de|pends on|
|000030d0| 20 79 6f 75 72 20 76 69 | 65 77 69 6e 67 0a 63 6f | your vi|ewing.co|
|000030e0| 6e 64 69 74 69 6f 6e 73 | 2e 20 20 54 68 65 20 73 |nditions|. The s|
|000030f0| 6d 61 6c 6c 65 72 20 61 | 6e 20 69 6e 64 69 76 69 |maller a|n indivi|
|00003100| 64 75 61 6c 20 70 69 78 | 65 6c 2c 20 74 68 65 20 |dual pix|el, the |
|00003110| 68 61 72 64 65 72 20 69 | 74 20 69 73 20 74 6f 20 |harder i|t is to |
|00003120| 73 65 65 20 61 6e 0a 65 | 72 72 6f 72 3b 20 73 6f |see an.e|rror; so|
|00003130| 20 65 72 72 6f 72 73 20 | 61 72 65 20 6d 6f 72 65 | errors |are more|
|00003140| 20 76 69 73 69 62 6c 65 | 20 6f 6e 20 61 20 63 6f | visible| on a co|
|00003150| 6d 70 75 74 65 72 20 73 | 63 72 65 65 6e 20 28 61 |mputer s|creen (a|
|00003160| 74 20 6d 61 79 62 65 20 | 37 30 0a 64 6f 74 73 2f |t maybe |70.dots/|
|00003170| 69 6e 63 68 29 20 74 68 | 61 6e 20 6f 6e 20 61 20 |inch) th|an on a |
|00003180| 68 69 67 68 2d 71 75 61 | 6c 69 74 79 20 63 6f 6c |high-qua|lity col|
|00003190| 6f 72 20 70 72 69 6e 74 | 6f 75 74 20 28 33 30 30 |or print|out (300|
|000031a0| 20 6f 72 20 6d 6f 72 65 | 20 64 6f 74 73 2f 69 6e | or more| dots/in|
|000031b0| 63 68 29 2e 0a 54 68 75 | 73 20 61 20 68 69 67 68 |ch)..Thu|s a high|
|000031c0| 65 72 2d 72 65 73 6f 6c | 75 74 69 6f 6e 20 69 6d |er-resol|ution im|
|000031d0| 61 67 65 20 63 61 6e 20 | 74 6f 6c 65 72 61 74 65 |age can |tolerate|
|000031e0| 20 6d 6f 72 65 20 63 6f | 6d 70 72 65 73 73 69 6f | more co|mpressio|
|000031f0| 6e 20 2e 2e 2e 20 77 68 | 69 63 68 20 69 73 0a 66 |n ... wh|ich is.f|
|00003200| 6f 72 74 75 6e 61 74 65 | 20 63 6f 6e 73 69 64 65 |ortunate| conside|
|00003210| 72 69 6e 67 20 69 74 27 | 73 20 6d 75 63 68 20 62 |ring it'|s much b|
|00003220| 69 67 67 65 72 20 74 6f | 20 73 74 61 72 74 20 77 |igger to| start w|
|00003230| 69 74 68 2e 20 20 54 68 | 65 20 6e 75 6d 62 65 72 |ith. Th|e number|
|00003240| 73 20 71 75 6f 74 65 64 | 0a 61 62 6f 76 65 20 61 |s quoted|.above a|
|00003250| 72 65 20 74 79 70 69 63 | 61 6c 20 66 6f 72 20 73 |re typic|al for s|
|00003260| 63 72 65 65 6e 20 76 69 | 65 77 69 6e 67 2e 20 20 |creen vi|ewing. |
|00003270| 41 6c 73 6f 20 6e 6f 74 | 65 20 74 68 61 74 20 74 |Also not|e that t|
|00003280| 68 65 20 74 68 72 65 73 | 68 6f 6c 64 20 6f 66 0a |he thres|hold of.|
|00003290| 76 69 73 69 62 6c 65 20 | 65 72 72 6f 72 20 76 61 |visible |error va|
|000032a0| 72 69 65 73 20 63 6f 6e | 73 69 64 65 72 61 62 6c |ries con|siderabl|
|000032b0| 79 20 61 63 72 6f 73 73 | 20 69 6d 61 67 65 73 2e |y across| images.|
|000032c0| 0a 0a 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |..------|--------|
|000032d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000032e0| 0a 0a 53 75 62 6a 65 63 | 74 3a 20 5b 35 5d 20 57 |..Subjec|t: [5] W|
|000032f0| 68 61 74 20 61 72 65 20 | 67 6f 6f 64 20 22 71 75 |hat are |good "qu|
|00003300| 61 6c 69 74 79 22 20 73 | 65 74 74 69 6e 67 73 20 |ality" s|ettings |
|00003310| 66 6f 72 20 4a 50 45 47 | 3f 0a 0a 4d 6f 73 74 20 |for JPEG|?..Most |
|00003320| 4a 50 45 47 20 63 6f 6d | 70 72 65 73 73 6f 72 73 |JPEG com|pressors|
|00003330| 20 6c 65 74 20 79 6f 75 | 20 70 69 63 6b 20 61 20 | let you| pick a |
|00003340| 66 69 6c 65 20 73 69 7a | 65 20 76 73 2e 20 69 6d |file siz|e vs. im|
|00003350| 61 67 65 20 71 75 61 6c | 69 74 79 20 74 72 61 64 |age qual|ity trad|
|00003360| 65 6f 66 66 20 62 79 0a | 73 65 6c 65 63 74 69 6e |eoff by.|selectin|
|00003370| 67 20 61 20 71 75 61 6c | 69 74 79 20 73 65 74 74 |g a qual|ity sett|
|00003380| 69 6e 67 2e 20 20 54 68 | 65 72 65 20 73 65 65 6d |ing. Th|ere seem|
|00003390| 73 20 74 6f 20 62 65 20 | 77 69 64 65 73 70 72 65 |s to be |widespre|
|000033a0| 61 64 20 63 6f 6e 66 75 | 73 69 6f 6e 20 61 62 6f |ad confu|sion abo|
|000033b0| 75 74 0a 74 68 65 20 6d | 65 61 6e 69 6e 67 20 6f |ut.the m|eaning o|
|000033c0| 66 20 74 68 65 73 65 20 | 73 65 74 74 69 6e 67 73 |f these |settings|
|000033d0| 2e 20 20 22 51 75 61 6c | 69 74 79 20 39 35 22 20 |. "Qual|ity 95" |
|000033e0| 64 6f 65 73 20 4e 4f 54 | 20 6d 65 61 6e 20 22 6b |does NOT| mean "k|
|000033f0| 65 65 70 20 39 35 25 20 | 6f 66 20 74 68 65 0a 69 |eep 95% |of the.i|
|00003400| 6e 66 6f 72 6d 61 74 69 | 6f 6e 22 2c 20 61 73 20 |nformati|on", as |
|00003410| 73 6f 6d 65 20 68 61 76 | 65 20 63 6c 61 69 6d 65 |some hav|e claime|
|00003420| 64 2e 20 20 54 68 65 20 | 71 75 61 6c 69 74 79 20 |d. The |quality |
|00003430| 73 63 61 6c 65 20 69 73 | 20 70 75 72 65 6c 79 20 |scale is| purely |
|00003440| 61 72 62 69 74 72 61 72 | 79 3b 0a 69 74 27 73 20 |arbitrar|y;.it's |
|00003450| 6e 6f 74 20 61 20 70 65 | 72 63 65 6e 74 61 67 65 |not a pe|rcentage|
|00003460| 20 6f 66 20 61 6e 79 74 | 68 69 6e 67 2e 0a 0a 49 | of anyt|hing...I|
|00003470| 6e 20 66 61 63 74 2c 20 | 71 75 61 6c 69 74 79 20 |n fact, |quality |
|00003480| 73 63 61 6c 65 73 20 61 | 72 65 6e 27 74 20 65 76 |scales a|ren't ev|
|00003490| 65 6e 20 73 74 61 6e 64 | 61 72 64 69 7a 65 64 20 |en stand|ardized |
|000034a0| 61 63 72 6f 73 73 20 4a | 50 45 47 20 70 72 6f 67 |across J|PEG prog|
|000034b0| 72 61 6d 73 2e 0a 54 68 | 65 20 71 75 61 6c 69 74 |rams..Th|e qualit|
|000034c0| 79 20 73 65 74 74 69 6e | 67 73 20 64 69 73 63 75 |y settin|gs discu|
|000034d0| 73 73 65 64 20 69 6e 20 | 74 68 69 73 20 61 72 74 |ssed in |this art|
|000034e0| 69 63 6c 65 20 61 70 70 | 6c 79 20 74 6f 20 74 68 |icle app|ly to th|
|000034f0| 65 20 66 72 65 65 20 49 | 4a 47 20 4a 50 45 47 0a |e free I|JG JPEG.|
|00003500| 73 6f 66 74 77 61 72 65 | 20 28 64 65 73 63 72 69 |software| (descri|
|00003510| 62 65 64 20 69 6e 20 70 | 61 72 74 20 32 29 2c 20 |bed in p|art 2), |
|00003520| 61 6e 64 20 74 6f 20 6d | 61 6e 79 20 70 72 6f 67 |and to m|any prog|
|00003530| 72 61 6d 73 20 62 61 73 | 65 64 20 6f 6e 20 69 74 |rams bas|ed on it|
|00003540| 2e 20 20 4f 74 68 65 72 | 0a 4a 50 45 47 20 69 6d |. Other|.JPEG im|
|00003550| 70 6c 65 6d 65 6e 74 61 | 74 69 6f 6e 73 2c 20 6e |plementa|tions, n|
|00003560| 6f 74 61 62 6c 79 20 41 | 70 70 6c 65 27 73 20 61 |otably A|pple's a|
|00003570| 6e 64 20 48 53 49 27 73 | 2c 20 75 73 65 20 63 6f |nd HSI's|, use co|
|00003580| 6d 70 6c 65 74 65 6c 79 | 20 64 69 66 66 65 72 65 |mpletely| differe|
|00003590| 6e 74 0a 71 75 61 6c 69 | 74 79 20 73 63 61 6c 65 |nt.quali|ty scale|
|000035a0| 73 3b 20 66 6f 72 20 69 | 6e 73 74 61 6e 63 65 2c |s; for i|nstance,|
|000035b0| 20 41 70 70 6c 65 27 73 | 20 73 63 61 6c 65 20 72 | Apple's| scale r|
|000035c0| 75 6e 73 20 66 72 6f 6d | 20 30 2d 34 2c 20 6e 6f |uns from| 0-4, no|
|000035d0| 74 20 30 2d 31 30 30 2e | 20 20 53 6f 6d 65 0a 70 |t 0-100.| Some.p|
|000035e0| 72 6f 67 72 61 6d 73 20 | 64 6f 6e 27 74 20 65 76 |rograms |don't ev|
|000035f0| 65 6e 20 70 72 6f 76 69 | 64 65 20 61 20 6e 75 6d |en provi|de a num|
|00003600| 65 72 69 63 20 73 63 61 | 6c 65 2c 20 6a 75 73 74 |eric sca|le, just|
|00003610| 20 22 68 69 67 68 22 2f | 22 6d 65 64 69 75 6d 22 | "high"/|"medium"|
|00003620| 2f 22 6c 6f 77 22 0a 73 | 74 79 6c 65 20 63 68 6f |/"low".s|tyle cho|
|00003630| 69 63 65 73 2e 20 20 28 | 46 6f 72 74 75 6e 61 74 |ices. (|Fortunat|
|00003640| 65 6c 79 2c 20 74 68 69 | 73 20 64 6f 65 73 6e 27 |ely, thi|s doesn'|
|00003650| 74 20 70 72 65 76 65 6e | 74 20 64 69 66 66 65 72 |t preven|t differ|
|00003660| 65 6e 74 20 69 6d 70 6c | 65 6d 65 6e 74 61 74 69 |ent impl|ementati|
|00003670| 6f 6e 73 0a 3e 66 72 6f | 6d 20 65 78 63 68 61 6e |ons.>fro|m exchan|
|00003680| 67 69 6e 67 20 63 6f 6d | 70 72 65 73 73 65 64 20 |ging com|pressed |
|00003690| 66 69 6c 65 73 2e 29 0a | 0a 49 6e 20 6d 6f 73 74 |files.).|.In most|
|000036a0| 20 63 61 73 65 73 20 74 | 68 65 20 75 73 65 72 27 | cases t|he user'|
|000036b0| 73 20 67 6f 61 6c 20 69 | 73 20 74 6f 20 70 69 63 |s goal i|s to pic|
|000036c0| 6b 20 74 68 65 20 6c 6f | 77 65 73 74 20 71 75 61 |k the lo|west qua|
|000036d0| 6c 69 74 79 20 73 65 74 | 74 69 6e 67 2c 20 6f 72 |lity set|ting, or|
|000036e0| 0a 73 6d 61 6c 6c 65 73 | 74 20 66 69 6c 65 20 73 |.smalles|t file s|
|000036f0| 69 7a 65 2c 20 74 68 61 | 74 20 64 65 63 6f 6d 70 |ize, tha|t decomp|
|00003700| 72 65 73 73 65 73 20 69 | 6e 74 6f 20 61 6e 20 69 |resses i|nto an i|
|00003710| 6d 61 67 65 20 69 6e 64 | 69 73 74 69 6e 67 75 69 |mage ind|istingui|
|00003720| 73 68 61 62 6c 65 20 66 | 72 6f 6d 0a 74 68 65 20 |shable f|rom.the |
|00003730| 6f 72 69 67 69 6e 61 6c | 2e 20 20 54 68 69 73 20 |original|. This |
|00003740| 73 65 74 74 69 6e 67 20 | 77 69 6c 6c 20 76 61 72 |setting |will var|
|00003750| 79 20 66 72 6f 6d 20 6f | 6e 65 20 69 6d 61 67 65 |y from o|ne image|
|00003760| 20 74 6f 20 61 6e 6f 74 | 68 65 72 20 61 6e 64 20 | to anot|her and |
|00003770| 66 72 6f 6d 20 6f 6e 65 | 0a 6f 62 73 65 72 76 65 |from one|.observe|
|00003780| 72 20 74 6f 20 61 6e 6f | 74 68 65 72 2c 20 62 75 |r to ano|ther, bu|
|00003790| 74 20 68 65 72 65 20 61 | 72 65 20 73 6f 6d 65 20 |t here a|re some |
|000037a0| 72 75 6c 65 73 20 6f 66 | 20 74 68 75 6d 62 2e 0a |rules of| thumb..|
|000037b0| 0a 46 6f 72 20 67 6f 6f | 64 2d 71 75 61 6c 69 74 |.For goo|d-qualit|
|000037c0| 79 2c 20 66 75 6c 6c 2d | 63 6f 6c 6f 72 20 73 6f |y, full-|color so|
|000037d0| 75 72 63 65 20 69 6d 61 | 67 65 73 2c 20 74 68 65 |urce ima|ges, the|
|000037e0| 20 64 65 66 61 75 6c 74 | 20 49 4a 47 20 71 75 61 | default| IJG qua|
|000037f0| 6c 69 74 79 20 73 65 74 | 74 69 6e 67 0a 28 51 20 |lity set|ting.(Q |
|00003800| 37 35 29 20 69 73 20 76 | 65 72 79 20 6f 66 74 65 |75) is v|ery ofte|
|00003810| 6e 20 74 68 65 20 62 65 | 73 74 20 63 68 6f 69 63 |n the be|st choic|
|00003820| 65 2e 20 20 54 68 69 73 | 20 73 65 74 74 69 6e 67 |e. This| setting|
|00003830| 20 69 73 20 61 62 6f 75 | 74 20 74 68 65 20 6c 6f | is abou|t the lo|
|00003840| 77 65 73 74 20 79 6f 75 | 0a 63 61 6e 20 67 6f 20 |west you|.can go |
|00003850| 77 69 74 68 6f 75 74 20 | 65 78 70 65 63 74 69 6e |without |expectin|
|00003860| 67 20 74 6f 20 73 65 65 | 20 64 65 66 65 63 74 73 |g to see| defects|
|00003870| 20 69 6e 20 61 20 74 79 | 70 69 63 61 6c 20 69 6d | in a ty|pical im|
|00003880| 61 67 65 2e 20 20 54 72 | 79 20 51 20 37 35 20 66 |age. Tr|y Q 75 f|
|00003890| 69 72 73 74 3b 0a 69 66 | 20 79 6f 75 20 73 65 65 |irst;.if| you see|
|000038a0| 20 64 65 66 65 63 74 73 | 2c 20 74 68 65 6e 20 67 | defects|, then g|
|000038b0| 6f 20 75 70 2e 0a 0a 49 | 66 20 74 68 65 20 69 6d |o up...I|f the im|
|000038c0| 61 67 65 20 77 61 73 20 | 6c 65 73 73 20 74 68 61 |age was |less tha|
|000038d0| 6e 20 70 65 72 66 65 63 | 74 20 71 75 61 6c 69 74 |n perfec|t qualit|
|000038e0| 79 20 74 6f 20 62 65 67 | 69 6e 20 77 69 74 68 2c |y to beg|in with,|
|000038f0| 20 79 6f 75 20 6d 69 67 | 68 74 20 62 65 20 61 62 | you mig|ht be ab|
|00003900| 6c 65 0a 74 6f 20 64 72 | 6f 70 20 64 6f 77 6e 20 |le.to dr|op down |
|00003910| 74 6f 20 51 20 35 30 20 | 77 69 74 68 6f 75 74 20 |to Q 50 |without |
|00003920| 6f 62 6a 65 63 74 69 6f | 6e 61 62 6c 65 20 64 65 |objectio|nable de|
|00003930| 67 72 61 64 61 74 69 6f | 6e 2e 20 20 4f 6e 20 74 |gradatio|n. On t|
|00003940| 68 65 20 6f 74 68 65 72 | 20 68 61 6e 64 2c 0a 79 |he other| hand,.y|
|00003950| 6f 75 20 6d 69 67 68 74 | 20 6e 65 65 64 20 74 6f |ou might| need to|
|00003960| 20 67 6f 20 74 6f 20 61 | 20 2a 68 69 67 68 65 72 | go to a| *higher|
|00003970| 2a 20 71 75 61 6c 69 74 | 79 20 73 65 74 74 69 6e |* qualit|y settin|
|00003980| 67 20 74 6f 20 61 76 6f | 69 64 20 66 75 72 74 68 |g to avo|id furth|
|00003990| 65 72 20 6c 6f 73 73 2e | 0a 54 68 69 73 20 69 73 |er loss.|.This is|
|000039a0| 20 6f 66 74 65 6e 20 6e | 65 63 65 73 73 61 72 79 | often n|ecessary|
|000039b0| 20 69 66 20 74 68 65 20 | 69 6d 61 67 65 20 63 6f | if the |image co|
|000039c0| 6e 74 61 69 6e 73 20 64 | 69 74 68 65 72 69 6e 67 |ntains d|ithering|
|000039d0| 20 6f 72 20 6d 6f 69 72 | 65 20 70 61 74 74 65 72 | or moir|e patter|
|000039e0| 6e 73 0a 28 73 65 65 20 | 22 5b 39 5d 20 57 68 61 |ns.(see |"[9] Wha|
|000039f0| 74 20 61 72 65 20 73 6f | 6d 65 20 72 75 6c 65 73 |t are so|me rules|
|00003a00| 20 6f 66 20 74 68 75 6d | 62 20 66 6f 72 20 63 6f | of thum|b for co|
|00003a10| 6e 76 65 72 74 69 6e 67 | 20 47 49 46 20 69 6d 61 |nverting| GIF ima|
|00003a20| 67 65 73 20 74 6f 20 4a | 50 45 47 3f 22 29 2e 0a |ges to J|PEG?")..|
|00003a30| 0a 45 78 63 65 70 74 20 | 66 6f 72 20 65 78 70 65 |.Except |for expe|
|00003a40| 72 69 6d 65 6e 74 61 6c | 20 70 75 72 70 6f 73 65 |rimental| purpose|
|00003a50| 73 2c 20 6e 65 76 65 72 | 20 67 6f 20 61 62 6f 76 |s, never| go abov|
|00003a60| 65 20 61 62 6f 75 74 20 | 51 20 39 35 3b 20 75 73 |e about |Q 95; us|
|00003a70| 69 6e 67 20 51 20 31 30 | 30 0a 77 69 6c 6c 20 70 |ing Q 10|0.will p|
|00003a80| 72 6f 64 75 63 65 20 61 | 20 66 69 6c 65 20 74 77 |roduce a| file tw|
|00003a90| 6f 20 6f 72 20 74 68 72 | 65 65 20 74 69 6d 65 73 |o or thr|ee times|
|00003aa0| 20 61 73 20 6c 61 72 67 | 65 20 61 73 20 51 20 39 | as larg|e as Q 9|
|00003ab0| 35 2c 20 62 75 74 20 6f | 66 20 68 61 72 64 6c 79 |5, but o|f hardly|
|00003ac0| 20 61 6e 79 0a 62 65 74 | 74 65 72 20 71 75 61 6c | any.bet|ter qual|
|00003ad0| 69 74 79 2e 20 20 49 66 | 20 79 6f 75 20 73 65 65 |ity. If| you see|
|00003ae0| 20 61 20 66 69 6c 65 20 | 6d 61 64 65 20 77 69 74 | a file |made wit|
|00003af0| 68 20 51 20 31 30 30 2c | 20 69 74 27 73 20 61 20 |h Q 100,| it's a |
|00003b00| 70 72 65 74 74 79 20 73 | 75 72 65 20 73 69 67 6e |pretty s|ure sign|
|00003b10| 0a 74 68 61 74 20 74 68 | 65 20 6d 61 6b 65 72 20 |.that th|e maker |
|00003b20| 64 69 64 6e 27 74 20 6b | 6e 6f 77 20 77 68 61 74 |didn't k|now what|
|00003b30| 20 68 65 2f 73 68 65 20 | 77 61 73 20 64 6f 69 6e | he/she |was doin|
|00003b40| 67 2e 0a 0a 49 66 20 79 | 6f 75 20 77 61 6e 74 20 |g...If y|ou want |
|00003b50| 61 20 76 65 72 79 20 73 | 6d 61 6c 6c 20 66 69 6c |a very s|mall fil|
|00003b60| 65 20 28 73 61 79 20 66 | 6f 72 20 70 72 65 76 69 |e (say f|or previ|
|00003b70| 65 77 20 6f 72 20 69 6e | 64 65 78 69 6e 67 20 70 |ew or in|dexing p|
|00003b80| 75 72 70 6f 73 65 73 29 | 20 61 6e 64 20 61 72 65 |urposes)| and are|
|00003b90| 0a 70 72 65 70 61 72 65 | 64 20 74 6f 20 74 6f 6c |.prepare|d to tol|
|00003ba0| 65 72 61 74 65 20 6c 61 | 72 67 65 20 64 65 66 65 |erate la|rge defe|
|00003bb0| 63 74 73 2c 20 61 20 51 | 20 73 65 74 74 69 6e 67 |cts, a Q| setting|
|00003bc0| 20 69 6e 20 74 68 65 20 | 72 61 6e 67 65 20 6f 66 | in the |range of|
|00003bd0| 20 35 20 74 6f 20 31 30 | 20 69 73 0a 61 62 6f 75 | 5 to 10| is.abou|
|00003be0| 74 20 72 69 67 68 74 2e | 20 20 51 20 32 20 6f 72 |t right.| Q 2 or|
|00003bf0| 20 73 6f 20 6d 61 79 20 | 62 65 20 61 6d 75 73 69 | so may |be amusi|
|00003c00| 6e 67 20 61 73 20 22 6f | 70 20 61 72 74 22 2e 20 |ng as "o|p art". |
|00003c10| 20 28 49 74 27 73 20 77 | 6f 72 74 68 20 6d 65 6e | (It's w|orth men|
|00003c20| 74 69 6f 6e 69 6e 67 0a | 74 68 61 74 20 74 68 65 |tioning.|that the|
|00003c30| 20 63 75 72 72 65 6e 74 | 20 49 4a 47 20 73 6f 66 | current| IJG sof|
|00003c40| 74 77 61 72 65 20 69 73 | 20 6e 6f 74 20 6f 70 74 |tware is| not opt|
|00003c50| 69 6d 69 7a 65 64 20 66 | 6f 72 20 73 75 63 68 20 |imized f|or such |
|00003c60| 6c 6f 77 20 71 75 61 6c | 69 74 79 20 66 61 63 74 |low qual|ity fact|
|00003c70| 6f 72 73 2e 0a 46 75 74 | 75 72 65 20 76 65 72 73 |ors..Fut|ure vers|
|00003c80| 69 6f 6e 73 20 6d 61 79 | 20 61 63 68 69 65 76 65 |ions may| achieve|
|00003c90| 20 62 65 74 74 65 72 20 | 69 6d 61 67 65 20 71 75 | better |image qu|
|00003ca0| 61 6c 69 74 79 20 66 6f | 72 20 74 68 65 20 73 61 |ality fo|r the sa|
|00003cb0| 6d 65 20 66 69 6c 65 20 | 73 69 7a 65 20 61 74 0a |me file |size at.|
|00003cc0| 6c 6f 77 20 71 75 61 6c | 69 74 79 20 73 65 74 74 |low qual|ity sett|
|00003cd0| 69 6e 67 73 2e 29 0a 0a | 2d 2d 2d 2d 2d 2d 2d 2d |ings.)..|--------|
|00003ce0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003cf0| 2d 2d 2d 2d 2d 2d 0a 0a | 53 75 62 6a 65 63 74 3a |------..|Subject:|
|00003d00| 20 5b 36 5d 20 57 68 65 | 72 65 20 63 61 6e 20 49 | [6] Whe|re can I|
|00003d10| 20 67 65 74 20 4a 50 45 | 47 20 73 6f 66 74 77 61 | get JPE|G softwa|
|00003d20| 72 65 3f 0a 0a 53 65 65 | 20 70 61 72 74 20 32 20 |re?..See| part 2 |
|00003d30| 6f 66 20 74 68 69 73 20 | 46 41 51 20 66 6f 72 20 |of this |FAQ for |
|00003d40| 72 65 63 6f 6d 6d 65 6e | 64 61 74 69 6f 6e 73 20 |recommen|dations |
|00003d50| 61 62 6f 75 74 20 70 72 | 6f 67 72 61 6d 73 20 66 |about pr|ograms f|
|00003d60| 6f 72 20 70 61 72 74 69 | 63 75 6c 61 72 0a 73 79 |or parti|cular.sy|
|00003d70| 73 74 65 6d 73 2e 20 20 | 50 61 72 74 20 32 20 61 |stems. |Part 2 a|
|00003d80| 6c 73 6f 20 74 65 6c 6c | 73 20 77 68 65 72 65 20 |lso tell|s where |
|00003d90| 74 6f 20 66 69 6e 64 20 | 66 72 65 65 20 43 20 73 |to find |free C s|
|00003da0| 6f 75 72 63 65 20 63 6f | 64 65 20 66 6f 72 0a 69 |ource co|de for.i|
|00003db0| 6d 70 6c 65 6d 65 6e 74 | 69 6e 67 20 4a 50 45 47 |mplement|ing JPEG|
|00003dc0| 2c 20 69 6e 20 63 61 73 | 65 20 79 6f 75 20 77 61 |, in cas|e you wa|
|00003dd0| 6e 74 20 74 6f 20 77 72 | 69 74 65 20 79 6f 75 72 |nt to wr|ite your|
|00003de0| 20 6f 77 6e 20 70 72 6f | 67 72 61 6d 73 20 75 73 | own pro|grams us|
|00003df0| 69 6e 67 20 4a 50 45 47 | 2e 0a 0a 54 68 65 20 63 |ing JPEG|...The c|
|00003e00| 6f 6d 70 2e 67 72 61 70 | 68 69 63 73 20 46 41 51 |omp.grap|hics FAQ|
|00003e10| 73 20 61 6e 64 20 74 68 | 65 20 61 6c 74 2e 62 69 |s and th|e alt.bi|
|00003e20| 6e 61 72 69 65 73 2e 70 | 69 63 74 75 72 65 73 20 |naries.p|ictures |
|00003e30| 46 41 51 20 61 72 65 20 | 6d 6f 72 65 20 67 65 6e |FAQ are |more gen|
|00003e40| 65 72 61 6c 0a 73 6f 75 | 72 63 65 73 20 6f 66 20 |eral.sou|rces of |
|00003e50| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 20 61 62 6f 75 |informat|ion abou|
|00003e60| 74 20 67 72 61 70 68 69 | 63 73 20 70 72 6f 67 72 |t graphi|cs progr|
|00003e70| 61 6d 73 20 61 76 61 69 | 6c 61 62 6c 65 20 6f 6e |ams avai|lable on|
|00003e80| 20 74 68 65 20 49 6e 74 | 65 72 6e 65 74 0a 28 73 | the Int|ernet.(s|
|00003e90| 65 65 20 22 5b 31 39 5d | 20 57 68 65 72 65 20 61 |ee "[19]| Where a|
|00003ea0| 72 65 20 46 41 51 20 6c | 69 73 74 73 20 61 72 63 |re FAQ l|ists arc|
|00003eb0| 68 69 76 65 64 3f 22 29 | 2e 0a 0a 2d 2d 2d 2d 2d |hived?")|...-----|
|00003ec0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003ed0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 0a 0a 53 75 62 6a 65 |--------|-..Subje|
|00003ee0| 63 74 3a 20 5b 37 5d 20 | 48 6f 77 20 64 6f 20 49 |ct: [7] |How do I|
|00003ef0| 20 76 69 65 77 20 4a 50 | 45 47 20 69 6d 61 67 65 | view JP|EG image|
|00003f00| 73 20 70 6f 73 74 65 64 | 20 6f 6e 20 55 73 65 6e |s posted| on Usen|
|00003f10| 65 74 3f 0a 0a 49 6d 61 | 67 65 20 66 69 6c 65 73 |et?..Ima|ge files|
|00003f20| 20 70 6f 73 74 65 64 20 | 6f 6e 20 74 68 65 20 61 | posted |on the a|
|00003f30| 6c 74 2e 62 69 6e 61 72 | 69 65 73 2e 70 69 63 74 |lt.binar|ies.pict|
|00003f40| 75 72 65 73 2e 2a 20 6e | 65 77 73 67 72 6f 75 70 |ures.* n|ewsgroup|
|00003f50| 73 20 61 72 65 20 75 73 | 75 61 6c 6c 79 0a 22 75 |s are us|ually."u|
|00003f60| 75 65 6e 63 6f 64 65 64 | 22 2e 20 20 55 75 65 6e |uencoded|". Uuen|
|00003f70| 63 6f 64 69 6e 67 20 63 | 6f 6e 76 65 72 74 73 20 |coding c|onverts |
|00003f80| 62 69 6e 61 72 79 20 69 | 6d 61 67 65 20 64 61 74 |binary i|mage dat|
|00003f90| 61 20 69 6e 74 6f 20 74 | 65 78 74 20 74 68 61 74 |a into t|ext that|
|00003fa0| 20 63 61 6e 0a 73 61 66 | 65 6c 79 20 62 65 20 70 | can.saf|ely be p|
|00003fb0| 6f 73 74 65 64 2e 20 20 | 4d 6f 73 74 20 70 6f 73 |osted. |Most pos|
|00003fc0| 74 65 72 73 20 61 6c 73 | 6f 20 64 69 76 69 64 65 |ters als|o divide|
|00003fd0| 20 6c 61 72 67 65 20 70 | 6f 73 74 73 20 69 6e 74 | large p|osts int|
|00003fe0| 6f 20 6d 75 6c 74 69 70 | 6c 65 20 70 61 72 74 73 |o multip|le parts|
|00003ff0| 2c 0a 73 69 6e 63 65 20 | 73 6f 6d 65 20 6e 65 77 |,.since |some new|
|00004000| 73 20 73 6f 66 74 77 61 | 72 65 20 63 61 6e 27 74 |s softwa|re can't|
|00004010| 20 63 6f 70 65 20 77 69 | 74 68 20 62 69 67 20 61 | cope wi|th big a|
|00004020| 72 74 69 63 6c 65 73 2e | 20 20 42 65 66 6f 72 65 |rticles.| Before|
|00004030| 20 79 6f 75 72 20 76 69 | 65 77 65 72 0a 77 69 6c | your vi|ewer.wil|
|00004040| 6c 20 72 65 63 6f 67 6e | 69 7a 65 20 74 68 65 20 |l recogn|ize the |
|00004050| 69 6d 61 67 65 2c 20 79 | 6f 75 20 6d 75 73 74 20 |image, y|ou must |
|00004060| 63 6f 6d 62 69 6e 65 20 | 74 68 65 20 70 61 72 74 |combine |the part|
|00004070| 73 20 69 6e 74 6f 20 6f | 6e 65 20 66 69 6c 65 20 |s into o|ne file |
|00004080| 61 6e 64 20 72 75 6e 0a | 74 68 65 20 74 65 78 74 |and run.|the text|
|00004090| 20 74 68 72 6f 75 67 68 | 20 61 20 75 75 64 65 63 | through| a uudec|
|000040a0| 6f 64 65 20 70 72 6f 67 | 72 61 6d 2e 20 20 28 54 |ode prog|ram. (T|
|000040b0| 68 69 73 20 69 73 20 61 | 6c 6c 20 74 72 75 65 20 |his is a|ll true |
|000040c0| 66 6f 72 20 47 49 46 20 | 61 73 20 77 65 6c 6c 20 |for GIF |as well |
|000040d0| 61 73 0a 4a 50 45 47 2c | 20 62 79 20 74 68 65 20 |as.JPEG,| by the |
|000040e0| 77 61 79 2e 29 20 20 54 | 68 65 72 65 20 61 72 65 |way.) T|here are|
|000040f0| 20 70 72 6f 67 72 61 6d | 73 20 61 76 61 69 6c 61 | program|s availa|
|00004100| 62 6c 65 20 74 6f 20 61 | 75 74 6f 6d 61 74 65 20 |ble to a|utomate |
|00004110| 74 68 69 73 20 70 72 6f | 63 65 73 73 2e 0a 0a 46 |this pro|cess...F|
|00004120| 6f 72 20 6d 6f 72 65 20 | 69 6e 66 6f 20 73 65 65 |or more |info see|
|00004130| 20 74 68 65 20 61 6c 74 | 2e 62 69 6e 61 72 69 65 | the alt|.binarie|
|00004140| 73 2e 70 69 63 74 75 72 | 65 73 20 46 41 51 2c 20 |s.pictur|es FAQ, |
|00004150| 77 68 69 63 68 20 69 73 | 20 61 76 61 69 6c 61 62 |which is| availab|
|00004160| 6c 65 20 66 72 6f 6d 0a | 72 74 66 6d 2e 6d 69 74 |le from.|rtfm.mit|
|00004170| 2e 65 64 75 3a 2f 70 75 | 62 2f 75 73 65 6e 65 74 |.edu:/pu|b/usenet|
|00004180| 2f 6e 65 77 73 2e 61 6e | 73 77 65 72 73 2f 70 69 |/news.an|swers/pi|
|00004190| 63 74 75 72 65 73 2d 66 | 61 71 2f 70 61 72 74 5b |ctures-f|aq/part[|
|000041a0| 31 2d 33 5d 2c 20 6f 72 | 20 6f 6e 20 57 57 57 20 |1-3], or| on WWW |
|000041b0| 61 74 0a 68 74 74 70 3a | 2f 2f 77 77 77 2e 63 69 |at.http:|//www.ci|
|000041c0| 73 2e 6f 68 69 6f 2d 73 | 74 61 74 65 2e 65 64 75 |s.ohio-s|tate.edu|
|000041d0| 2f 68 79 70 65 72 74 65 | 78 74 2f 66 61 71 2f 75 |/hyperte|xt/faq/u|
|000041e0| 73 65 6e 65 74 2f 70 69 | 63 74 75 72 65 73 2d 66 |senet/pi|ctures-f|
|000041f0| 61 71 2f 74 6f 70 2e 68 | 74 6d 6c 0a 28 73 65 65 |aq/top.h|tml.(see|
|00004200| 20 61 6c 73 6f 20 22 5b | 31 39 5d 20 57 68 65 72 | also "[|19] Wher|
|00004210| 65 20 61 72 65 20 46 41 | 51 20 6c 69 73 74 73 20 |e are FA|Q lists |
|00004220| 61 72 63 68 69 76 65 64 | 3f 22 29 2e 0a 0a 2d 2d |archived|?")...--|
|00004230| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004240| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 0a 0a 53 75 |--------|----..Su|
|00004250| 62 6a 65 63 74 3a 20 5b | 38 5d 20 57 68 61 74 20 |bject: [|8] What |
|00004260| 69 73 20 63 6f 6c 6f 72 | 20 71 75 61 6e 74 69 7a |is color| quantiz|
|00004270| 61 74 69 6f 6e 3f 0a 0a | 4d 6f 73 74 20 70 65 6f |ation?..|Most peo|
|00004280| 70 6c 65 20 64 6f 6e 27 | 74 20 68 61 76 65 20 66 |ple don'|t have f|
|00004290| 75 6c 6c 2d 63 6f 6c 6f | 72 20 28 32 34 20 62 69 |ull-colo|r (24 bi|
|000042a0| 74 20 70 65 72 20 70 69 | 78 65 6c 29 20 64 69 73 |t per pi|xel) dis|
|000042b0| 70 6c 61 79 20 68 61 72 | 64 77 61 72 65 2e 0a 54 |play har|dware..T|
|000042c0| 79 70 69 63 61 6c 20 64 | 69 73 70 6c 61 79 20 68 |ypical d|isplay h|
|000042d0| 61 72 64 77 61 72 65 20 | 73 74 6f 72 65 73 20 38 |ardware |stores 8|
|000042e0| 20 6f 72 20 66 65 77 65 | 72 20 62 69 74 73 20 70 | or fewe|r bits p|
|000042f0| 65 72 20 70 69 78 65 6c | 2c 20 73 6f 20 69 74 20 |er pixel|, so it |
|00004300| 63 61 6e 20 64 69 73 70 | 6c 61 79 0a 32 35 36 20 |can disp|lay.256 |
|00004310| 6f 72 20 66 65 77 65 72 | 20 64 69 73 74 69 6e 63 |or fewer| distinc|
|00004320| 74 20 63 6f 6c 6f 72 73 | 20 61 74 20 61 20 74 69 |t colors| at a ti|
|00004330| 6d 65 2e 20 20 54 6f 20 | 64 69 73 70 6c 61 79 20 |me. To |display |
|00004340| 61 20 66 75 6c 6c 2d 63 | 6f 6c 6f 72 20 69 6d 61 |a full-c|olor ima|
|00004350| 67 65 2c 20 74 68 65 0a | 63 6f 6d 70 75 74 65 72 |ge, the.|computer|
|00004360| 20 6d 75 73 74 20 63 68 | 6f 6f 73 65 20 61 6e 20 | must ch|oose an |
|00004370| 61 70 70 72 6f 70 72 69 | 61 74 65 20 73 65 74 20 |appropri|ate set |
|00004380| 6f 66 20 72 65 70 72 65 | 73 65 6e 74 61 74 69 76 |of repre|sentativ|
|00004390| 65 20 63 6f 6c 6f 72 73 | 20 61 6e 64 20 6d 61 70 |e colors| and map|
|000043a0| 20 74 68 65 0a 69 6d 61 | 67 65 20 69 6e 74 6f 20 | the.ima|ge into |
|000043b0| 74 68 65 73 65 20 63 6f | 6c 6f 72 73 2e 20 20 54 |these co|lors. T|
|000043c0| 68 69 73 20 70 72 6f 63 | 65 73 73 20 69 73 20 63 |his proc|ess is c|
|000043d0| 61 6c 6c 65 64 20 22 63 | 6f 6c 6f 72 20 71 75 61 |alled "c|olor qua|
|000043e0| 6e 74 69 7a 61 74 69 6f | 6e 22 2e 0a 28 54 68 69 |ntizatio|n"..(Thi|
|000043f0| 73 20 69 73 20 73 6f 6d | 65 74 68 69 6e 67 20 6f |s is som|ething o|
|00004400| 66 20 61 20 6d 69 73 6e | 6f 6d 65 72 3b 20 22 63 |f a misn|omer; "c|
|00004410| 6f 6c 6f 72 20 73 65 6c | 65 63 74 69 6f 6e 22 20 |olor sel|ection" |
|00004420| 6f 72 20 22 63 6f 6c 6f | 72 20 72 65 64 75 63 74 |or "colo|r reduct|
|00004430| 69 6f 6e 22 0a 77 6f 75 | 6c 64 20 62 65 20 61 20 |ion".wou|ld be a |
|00004440| 62 65 74 74 65 72 20 74 | 65 72 6d 2e 20 20 42 75 |better t|erm. Bu|
|00004450| 74 20 77 65 27 72 65 20 | 73 74 75 63 6b 20 77 69 |t we're |stuck wi|
|00004460| 74 68 20 74 68 65 20 73 | 74 61 6e 64 61 72 64 20 |th the s|tandard |
|00004470| 75 73 61 67 65 2e 29 0a | 0a 43 6c 65 61 72 6c 79 |usage.).|.Clearly|
|00004480| 2c 20 63 6f 6c 6f 72 20 | 71 75 61 6e 74 69 7a 61 |, color |quantiza|
|00004490| 74 69 6f 6e 20 69 73 20 | 61 20 6c 6f 73 73 79 20 |tion is |a lossy |
|000044a0| 70 72 6f 63 65 73 73 2e | 20 20 49 74 20 74 75 72 |process.| It tur|
|000044b0| 6e 73 20 6f 75 74 20 74 | 68 61 74 20 66 6f 72 20 |ns out t|hat for |
|000044c0| 6d 6f 73 74 0a 69 6d 61 | 67 65 73 2c 20 74 68 65 |most.ima|ges, the|
|000044d0| 20 64 65 74 61 69 6c 73 | 20 6f 66 20 74 68 65 20 | details| of the |
|000044e0| 63 6f 6c 6f 72 20 71 75 | 61 6e 74 69 7a 61 74 69 |color qu|antizati|
|000044f0| 6f 6e 20 61 6c 67 6f 72 | 69 74 68 6d 20 68 61 76 |on algor|ithm hav|
|00004500| 65 20 2a 6d 75 63 68 2a | 20 6d 6f 72 65 0a 69 6d |e *much*| more.im|
|00004510| 70 61 63 74 20 6f 6e 20 | 74 68 65 20 66 69 6e 61 |pact on |the fina|
|00004520| 6c 20 69 6d 61 67 65 20 | 71 75 61 6c 69 74 79 20 |l image |quality |
|00004530| 74 68 61 6e 20 64 6f 20 | 61 6e 79 20 65 72 72 6f |than do |any erro|
|00004540| 72 73 20 69 6e 74 72 6f | 64 75 63 65 64 20 62 79 |rs intro|duced by|
|00004550| 20 4a 50 45 47 0a 69 74 | 73 65 6c 66 20 28 65 78 | JPEG.it|self (ex|
|00004560| 63 65 70 74 20 61 74 20 | 74 68 65 20 76 65 72 79 |cept at |the very|
|00004570| 20 6c 6f 77 65 73 74 20 | 4a 50 45 47 20 71 75 61 | lowest |JPEG qua|
|00004580| 6c 69 74 79 20 73 65 74 | 74 69 6e 67 73 29 2e 20 |lity set|tings). |
|00004590| 20 4d 61 6b 69 6e 67 20 | 61 20 67 6f 6f 64 0a 63 | Making |a good.c|
|000045a0| 6f 6c 6f 72 20 71 75 61 | 6e 74 69 7a 61 74 69 6f |olor qua|ntizatio|
|000045b0| 6e 20 6d 65 74 68 6f 64 | 20 69 73 20 61 20 62 6c |n method| is a bl|
|000045c0| 61 63 6b 20 61 72 74 2c | 20 61 6e 64 20 6e 6f 20 |ack art,| and no |
|000045d0| 73 69 6e 67 6c 65 20 61 | 6c 67 6f 72 69 74 68 6d |single a|lgorithm|
|000045e0| 20 69 73 20 62 65 73 74 | 0a 66 6f 72 20 61 6c 6c | is best|.for all|
|000045f0| 20 69 6d 61 67 65 73 2e | 0a 0a 53 69 6e 63 65 20 | images.|..Since |
|00004600| 4a 50 45 47 20 69 73 20 | 61 20 66 75 6c 6c 2d 63 |JPEG is |a full-c|
|00004610| 6f 6c 6f 72 20 66 6f 72 | 6d 61 74 2c 20 64 69 73 |olor for|mat, dis|
|00004620| 70 6c 61 79 69 6e 67 20 | 61 20 63 6f 6c 6f 72 20 |playing |a color |
|00004630| 4a 50 45 47 20 69 6d 61 | 67 65 20 6f 6e 0a 38 2d |JPEG ima|ge on.8-|
|00004640| 62 69 74 2d 6f 72 2d 6c | 65 73 73 20 68 61 72 64 |bit-or-l|ess hard|
|00004650| 77 61 72 65 20 72 65 71 | 75 69 72 65 73 20 63 6f |ware req|uires co|
|00004660| 6c 6f 72 20 71 75 61 6e | 74 69 7a 61 74 69 6f 6e |lor quan|tization|
|00004670| 2e 20 20 54 68 65 20 73 | 70 65 65 64 20 61 6e 64 |. The s|peed and|
|00004680| 20 69 6d 61 67 65 0a 71 | 75 61 6c 69 74 79 20 6f | image.q|uality o|
|00004690| 66 20 61 20 4a 50 45 47 | 20 76 69 65 77 65 72 20 |f a JPEG| viewer |
|000046a0| 72 75 6e 6e 69 6e 67 20 | 6f 6e 20 73 75 63 68 20 |running |on such |
|000046b0| 68 61 72 64 77 61 72 65 | 20 61 72 65 20 6c 61 72 |hardware| are lar|
|000046c0| 67 65 6c 79 20 64 65 74 | 65 72 6d 69 6e 65 64 20 |gely det|ermined |
|000046d0| 62 79 0a 69 74 73 20 71 | 75 61 6e 74 69 7a 61 74 |by.its q|uantizat|
|000046e0| 69 6f 6e 20 61 6c 67 6f | 72 69 74 68 6d 2e 20 20 |ion algo|rithm. |
|000046f0| 44 65 70 65 6e 64 69 6e | 67 20 6f 6e 20 77 68 65 |Dependin|g on whe|
|00004700| 74 68 65 72 20 61 20 71 | 75 69 63 6b 2d 61 6e 64 |ther a q|uick-and|
|00004710| 2d 64 69 72 74 79 20 6f | 72 0a 67 6f 6f 64 2d 62 |-dirty o|r.good-b|
|00004720| 75 74 2d 73 6c 6f 77 20 | 6d 65 74 68 6f 64 20 69 |ut-slow |method i|
|00004730| 73 20 75 73 65 64 2c 20 | 79 6f 75 27 6c 6c 20 73 |s used, |you'll s|
|00004740| 65 65 20 67 72 65 61 74 | 20 76 61 72 69 61 74 69 |ee great| variati|
|00004750| 6f 6e 20 69 6e 20 69 6d | 61 67 65 20 71 75 61 6c |on in im|age qual|
|00004760| 69 74 79 0a 61 6d 6f 6e | 67 20 76 69 65 77 65 72 |ity.amon|g viewer|
|00004770| 73 20 6f 6e 20 38 2d 62 | 69 74 20 64 69 73 70 6c |s on 8-b|it displ|
|00004780| 61 79 73 2c 20 6d 75 63 | 68 20 6d 6f 72 65 20 74 |ays, muc|h more t|
|00004790| 68 61 6e 20 6f 63 63 75 | 72 73 20 6f 6e 20 32 34 |han occu|rs on 24|
|000047a0| 2d 62 69 74 20 64 69 73 | 70 6c 61 79 73 2e 0a 0a |-bit dis|plays...|
|000047b0| 4f 6e 20 74 68 65 20 6f | 74 68 65 72 20 68 61 6e |On the o|ther han|
|000047c0| 64 2c 20 61 20 47 49 46 | 20 69 6d 61 67 65 20 68 |d, a GIF| image h|
|000047d0| 61 73 20 61 6c 72 65 61 | 64 79 20 62 65 65 6e 20 |as alrea|dy been |
|000047e0| 71 75 61 6e 74 69 7a 65 | 64 20 74 6f 20 32 35 36 |quantize|d to 256|
|000047f0| 20 6f 72 20 66 65 77 65 | 72 0a 63 6f 6c 6f 72 73 | or fewe|r.colors|
|00004800| 2e 20 20 28 41 20 47 49 | 46 20 61 6c 77 61 79 73 |. (A GI|F always|
|00004810| 20 68 61 73 20 61 20 73 | 70 65 63 69 66 69 63 20 | has a s|pecific |
|00004820| 6e 75 6d 62 65 72 20 6f | 66 20 63 6f 6c 6f 72 73 |number o|f colors|
|00004830| 20 69 6e 20 69 74 73 20 | 70 61 6c 65 74 74 65 2c | in its |palette,|
|00004840| 20 61 6e 64 0a 74 68 65 | 20 66 6f 72 6d 61 74 20 | and.the| format |
|00004850| 64 6f 65 73 6e 27 74 20 | 61 6c 6c 6f 77 20 6d 6f |doesn't |allow mo|
|00004860| 72 65 20 74 68 61 6e 20 | 32 35 36 20 70 61 6c 65 |re than |256 pale|
|00004870| 74 74 65 20 65 6e 74 72 | 69 65 73 2e 29 20 20 47 |tte entr|ies.) G|
|00004880| 49 46 20 68 61 73 20 74 | 68 65 0a 61 64 76 61 6e |IF has t|he.advan|
|00004890| 74 61 67 65 20 74 68 61 | 74 20 74 68 65 20 69 6d |tage tha|t the im|
|000048a0| 61 67 65 20 6d 61 6b 65 | 72 20 70 72 65 63 6f 6d |age make|r precom|
|000048b0| 70 75 74 65 73 20 74 68 | 65 20 63 6f 6c 6f 72 20 |putes th|e color |
|000048c0| 71 75 61 6e 74 69 7a 61 | 74 69 6f 6e 2c 20 73 6f |quantiza|tion, so|
|000048d0| 0a 76 69 65 77 65 72 73 | 20 64 6f 6e 27 74 20 68 |.viewers| don't h|
|000048e0| 61 76 65 20 74 6f 3b 20 | 74 68 69 73 20 69 73 20 |ave to; |this is |
|000048f0| 6f 6e 65 20 6f 66 20 74 | 68 65 20 74 68 69 6e 67 |one of t|he thing|
|00004900| 73 20 74 68 61 74 20 6d | 61 6b 65 20 47 49 46 20 |s that m|ake GIF |
|00004910| 76 69 65 77 65 72 73 0a | 66 61 73 74 65 72 20 74 |viewers.|faster t|
|00004920| 68 61 6e 20 4a 50 45 47 | 20 76 69 65 77 65 72 73 |han JPEG| viewers|
|00004930| 2e 20 20 42 75 74 20 74 | 68 69 73 20 69 73 20 61 |. But t|his is a|
|00004940| 6c 73 6f 20 74 68 65 20 | 2a 64 69 73 61 64 76 61 |lso the |*disadva|
|00004950| 6e 74 61 67 65 2a 20 6f | 66 20 47 49 46 3a 0a 79 |ntage* o|f GIF:.y|
|00004960| 6f 75 27 72 65 20 73 74 | 75 63 6b 20 77 69 74 68 |ou're st|uck with|
|00004970| 20 74 68 65 20 69 6d 61 | 67 65 20 6d 61 6b 65 72 | the ima|ge maker|
|00004980| 27 73 20 71 75 61 6e 74 | 69 7a 61 74 69 6f 6e 2e |'s quant|ization.|
|00004990| 20 20 49 66 20 74 68 65 | 20 6d 61 6b 65 72 20 71 | If the| maker q|
|000049a0| 75 61 6e 74 69 7a 65 64 | 20 74 6f 0a 61 20 64 69 |uantized| to.a di|
|000049b0| 66 66 65 72 65 6e 74 20 | 6e 75 6d 62 65 72 20 6f |fferent |number o|
|000049c0| 66 20 63 6f 6c 6f 72 73 | 20 74 68 61 6e 20 77 68 |f colors| than wh|
|000049d0| 61 74 20 79 6f 75 20 63 | 61 6e 20 64 69 73 70 6c |at you c|an displ|
|000049e0| 61 79 2c 20 79 6f 75 27 | 6c 6c 20 65 69 74 68 65 |ay, you'|ll eithe|
|000049f0| 72 20 77 61 73 74 65 0a | 64 69 73 70 6c 61 79 20 |r waste.|display |
|00004a00| 63 61 70 61 62 69 6c 69 | 74 79 20 6f 72 20 65 6c |capabili|ty or el|
|00004a10| 73 65 20 68 61 76 65 20 | 74 6f 20 72 65 71 75 61 |se have |to requa|
|00004a20| 6e 74 69 7a 65 20 74 6f | 20 72 65 64 75 63 65 20 |ntize to| reduce |
|00004a30| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 63 6f |the numb|er of co|
|00004a40| 6c 6f 72 73 0a 28 77 68 | 69 63 68 20 75 73 75 61 |lors.(wh|ich usua|
|00004a50| 6c 6c 79 20 72 65 73 75 | 6c 74 73 20 69 6e 20 6d |lly resu|lts in m|
|00004a60| 75 63 68 20 70 6f 6f 72 | 65 72 20 69 6d 61 67 65 |uch poor|er image|
|00004a70| 20 71 75 61 6c 69 74 79 | 20 74 68 61 6e 20 71 75 | quality| than qu|
|00004a80| 61 6e 74 69 7a 69 6e 67 | 20 6f 6e 63 65 0a 3e 66 |antizing| once.>f|
|00004a90| 72 6f 6d 20 61 20 66 75 | 6c 6c 2d 63 6f 6c 6f 72 |rom a fu|ll-color|
|00004aa0| 20 69 6d 61 67 65 29 2e | 20 20 46 75 72 74 68 65 | image).| Furthe|
|00004ab0| 72 6d 6f 72 65 2c 20 69 | 66 20 74 68 65 20 6d 61 |rmore, i|f the ma|
|00004ac0| 6b 65 72 20 64 69 64 6e | 27 74 20 75 73 65 20 61 |ker didn|'t use a|
|00004ad0| 0a 68 69 67 68 2d 71 75 | 61 6c 69 74 79 20 63 6f |.high-qu|ality co|
|00004ae0| 6c 6f 72 20 71 75 61 6e | 74 69 7a 61 74 69 6f 6e |lor quan|tization|
|00004af0| 20 61 6c 67 6f 72 69 74 | 68 6d 2c 20 79 6f 75 27 | algorit|hm, you'|
|00004b00| 72 65 20 6f 75 74 20 6f | 66 20 6c 75 63 6b 20 2d |re out o|f luck -|
|00004b10| 2d 2d 20 74 68 65 20 69 | 6d 61 67 65 0a 69 73 20 |-- the i|mage.is |
|00004b20| 72 75 69 6e 65 64 2e 0a | 0a 46 6f 72 20 74 68 69 |ruined..|.For thi|
|00004b30| 73 20 72 65 61 73 6f 6e | 2c 20 4a 50 45 47 20 70 |s reason|, JPEG p|
|00004b40| 72 6f 6d 69 73 65 73 20 | 73 69 67 6e 69 66 69 63 |romises |signific|
|00004b50| 61 6e 74 6c 79 20 62 65 | 74 74 65 72 20 69 6d 61 |antly be|tter ima|
|00004b60| 67 65 20 71 75 61 6c 69 | 74 79 20 74 68 61 6e 20 |ge quali|ty than |
|00004b70| 47 49 46 0a 66 6f 72 20 | 61 6c 6c 20 75 73 65 72 |GIF.for |all user|
|00004b80| 73 20 77 68 6f 73 65 20 | 6d 61 63 68 69 6e 65 73 |s whose |machines|
|00004b90| 20 64 6f 6e 27 74 20 6d | 61 74 63 68 20 74 68 65 | don't m|atch the|
|00004ba0| 20 69 6d 61 67 65 20 6d | 61 6b 65 72 27 73 20 64 | image m|aker's d|
|00004bb0| 69 73 70 6c 61 79 20 68 | 61 72 64 77 61 72 65 2e |isplay h|ardware.|
|00004bc0| 0a 4a 50 45 47 27 73 20 | 66 75 6c 6c 20 63 6f 6c |.JPEG's |full col|
|00004bd0| 6f 72 20 69 6d 61 67 65 | 20 63 61 6e 20 62 65 20 |or image| can be |
|00004be0| 71 75 61 6e 74 69 7a 65 | 64 20 74 6f 20 70 72 65 |quantize|d to pre|
|00004bf0| 63 69 73 65 6c 79 20 6d | 61 74 63 68 20 74 68 65 |cisely m|atch the|
|00004c00| 20 76 69 65 77 65 72 27 | 73 0a 64 69 73 70 6c 61 | viewer'|s.displa|
|00004c10| 79 20 68 61 72 64 77 61 | 72 65 2e 20 20 46 75 72 |y hardwa|re. Fur|
|00004c20| 74 68 65 72 6d 6f 72 65 | 2c 20 79 6f 75 20 77 69 |thermore|, you wi|
|00004c30| 6c 6c 20 62 65 20 61 62 | 6c 65 20 74 6f 20 74 61 |ll be ab|le to ta|
|00004c40| 6b 65 20 61 64 76 61 6e | 74 61 67 65 20 6f 66 20 |ke advan|tage of |
|00004c50| 66 75 74 75 72 65 0a 69 | 6d 70 72 6f 76 65 6d 65 |future.i|mproveme|
|00004c60| 6e 74 73 20 69 6e 20 71 | 75 61 6e 74 69 7a 61 74 |nts in q|uantizat|
|00004c70| 69 6f 6e 20 61 6c 67 6f | 72 69 74 68 6d 73 2c 20 |ion algo|rithms, |
|00004c80| 6f 72 20 70 75 72 63 68 | 61 73 65 20 62 65 74 74 |or purch|ase bett|
|00004c90| 65 72 20 64 69 73 70 6c | 61 79 0a 68 61 72 64 77 |er displ|ay.hardw|
|00004ca0| 61 72 65 2c 20 74 6f 20 | 67 65 74 20 61 20 62 65 |are, to |get a be|
|00004cb0| 74 74 65 72 20 76 69 65 | 77 20 6f 66 20 4a 50 45 |tter vie|w of JPE|
|00004cc0| 47 20 69 6d 61 67 65 73 | 20 79 6f 75 20 61 6c 72 |G images| you alr|
|00004cd0| 65 61 64 79 20 68 61 76 | 65 2e 20 20 57 69 74 68 |eady hav|e. With|
|00004ce0| 20 61 20 47 49 46 2c 0a | 79 6f 75 27 72 65 20 73 | a GIF,.|you're s|
|00004cf0| 74 75 63 6b 20 66 6f 72 | 65 76 65 72 6d 6f 72 65 |tuck for|evermore|
|00004d00| 20 77 69 74 68 20 77 68 | 61 74 20 77 61 73 20 73 | with wh|at was s|
|00004d10| 65 6e 74 2e 0a 0a 41 20 | 67 72 6f 77 69 6e 67 20 |ent...A |growing |
|00004d20| 6e 75 6d 62 65 72 20 6f | 66 20 70 65 6f 70 6c 65 |number o|f people|
|00004d30| 20 68 61 76 65 20 62 65 | 74 74 65 72 2d 74 68 61 | have be|tter-tha|
|00004d40| 6e 2d 38 2d 62 69 74 20 | 64 69 73 70 6c 61 79 20 |n-8-bit |display |
|00004d50| 68 61 72 64 77 61 72 65 | 20 61 6c 72 65 61 64 79 |hardware| already|
|00004d60| 3a 0a 31 35 2d 62 69 74 | 20 22 68 69 2d 63 6f 6c |:.15-bit| "hi-col|
|00004d70| 6f 72 22 20 50 43 20 64 | 69 73 70 6c 61 79 73 2c |or" PC d|isplays,|
|00004d80| 20 74 72 75 65 20 32 34 | 2d 62 69 74 20 64 69 73 | true 24|-bit dis|
|00004d90| 70 6c 61 79 73 20 6f 6e | 20 77 6f 72 6b 73 74 61 |plays on| worksta|
|00004da0| 74 69 6f 6e 73 20 61 6e | 64 0a 4d 61 63 69 6e 74 |tions an|d.Macint|
|00004db0| 6f 73 68 65 73 2c 20 65 | 74 63 2e 20 20 46 6f 72 |oshes, e|tc. For|
|00004dc0| 20 74 68 65 73 65 20 70 | 65 6f 70 6c 65 2c 20 47 | these p|eople, G|
|00004dd0| 49 46 20 69 73 20 61 6c | 72 65 61 64 79 20 6f 62 |IF is al|ready ob|
|00004de0| 73 6f 6c 65 74 65 2c 20 | 61 73 20 69 74 20 63 61 |solete, |as it ca|
|00004df0| 6e 6e 6f 74 0a 72 65 70 | 72 65 73 65 6e 74 20 61 |nnot.rep|resent a|
|00004e00| 6e 20 69 6d 61 67 65 20 | 74 6f 20 74 68 65 20 66 |n image |to the f|
|00004e10| 75 6c 6c 20 63 61 70 61 | 62 69 6c 69 74 69 65 73 |ull capa|bilities|
|00004e20| 20 6f 66 20 74 68 65 69 | 72 20 64 69 73 70 6c 61 | of thei|r displa|
|00004e30| 79 2e 20 20 4a 50 45 47 | 20 69 6d 61 67 65 73 0a |y. JPEG| images.|
|00004e40| 63 61 6e 20 64 72 69 76 | 65 20 74 68 65 73 65 20 |can driv|e these |
|00004e50| 64 69 73 70 6c 61 79 73 | 20 6d 75 63 68 20 6d 6f |displays| much mo|
|00004e60| 72 65 20 65 66 66 65 63 | 74 69 76 65 6c 79 2e 0a |re effec|tively..|
|00004e70| 0a 49 6e 20 73 68 6f 72 | 74 2c 20 4a 50 45 47 20 |.In shor|t, JPEG |
|00004e80| 69 73 20 61 6e 20 61 6c | 6c 2d 61 72 6f 75 6e 64 |is an al|l-around|
|00004e90| 20 62 65 74 74 65 72 20 | 63 68 6f 69 63 65 20 74 | better |choice t|
|00004ea0| 68 61 6e 20 47 49 46 20 | 66 6f 72 20 72 65 70 72 |han GIF |for repr|
|00004eb0| 65 73 65 6e 74 69 6e 67 | 0a 70 68 6f 74 6f 67 72 |esenting|.photogr|
|00004ec0| 61 70 68 69 63 20 69 6d | 61 67 65 73 20 69 6e 20 |aphic im|ages in |
|00004ed0| 61 20 6d 61 63 68 69 6e | 65 2d 69 6e 64 65 70 65 |a machin|e-indepe|
|00004ee0| 6e 64 65 6e 74 20 66 61 | 73 68 69 6f 6e 2e 0a 0a |ndent fa|shion...|
|00004ef0| 0a 49 74 27 73 20 73 6f | 6d 65 74 69 6d 65 73 20 |.It's so|metimes |
|00004f00| 74 68 6f 75 67 68 74 20 | 74 68 61 74 20 61 20 4a |thought |that a J|
|00004f10| 50 45 47 20 63 6f 6e 76 | 65 72 74 65 64 20 66 72 |PEG conv|erted fr|
|00004f20| 6f 6d 20 61 20 47 49 46 | 20 73 68 6f 75 6c 64 6e |om a GIF| shouldn|
|00004f30| 27 74 20 72 65 71 75 69 | 72 65 0a 63 6f 6c 6f 72 |'t requi|re.color|
|00004f40| 20 71 75 61 6e 74 69 7a | 61 74 69 6f 6e 2e 20 20 | quantiz|ation. |
|00004f50| 54 68 69 73 20 69 73 20 | 66 61 6c 73 65 3a 20 65 |This is |false: e|
|00004f60| 76 65 6e 20 77 68 65 6e | 20 79 6f 75 20 66 65 65 |ven when| you fee|
|00004f70| 64 20 61 20 32 35 36 2d | 6f 72 2d 6c 65 73 73 2d |d a 256-|or-less-|
|00004f80| 63 6f 6c 6f 72 0a 47 49 | 46 20 69 6e 74 6f 20 4a |color.GI|F into J|
|00004f90| 50 45 47 2c 20 77 68 61 | 74 20 63 6f 6d 65 73 20 |PEG, wha|t comes |
|00004fa0| 6f 75 74 20 6f 66 20 74 | 68 65 20 64 65 63 6f 6d |out of t|he decom|
|00004fb0| 70 72 65 73 73 6f 72 20 | 69 73 20 6e 6f 74 20 32 |pressor |is not 2|
|00004fc0| 35 36 20 63 6f 6c 6f 72 | 73 2c 20 62 75 74 0a 74 |56 color|s, but.t|
|00004fd0| 68 6f 75 73 61 6e 64 73 | 20 6f 66 20 63 6f 6c 6f |housands| of colo|
|00004fe0| 72 73 2e 20 20 54 68 69 | 73 20 68 61 70 70 65 6e |rs. Thi|s happen|
|00004ff0| 73 20 62 65 63 61 75 73 | 65 20 4a 50 45 47 27 73 |s becaus|e JPEG's|
|00005000| 20 6c 6f 73 73 69 6e 65 | 73 73 20 61 66 66 65 63 | lossine|ss affec|
|00005010| 74 73 20 65 61 63 68 0a | 70 69 78 65 6c 20 61 20 |ts each.|pixel a |
|00005020| 6c 69 74 74 6c 65 20 64 | 69 66 66 65 72 65 6e 74 |little d|ifferent|
|00005030| 6c 79 2c 20 73 6f 20 74 | 77 6f 20 70 69 78 65 6c |ly, so t|wo pixel|
|00005040| 73 20 74 68 61 74 20 73 | 74 61 72 74 65 64 20 77 |s that s|tarted w|
|00005050| 69 74 68 20 69 64 65 6e | 74 69 63 61 6c 20 63 6f |ith iden|tical co|
|00005060| 6c 6f 72 73 0a 77 69 6c | 6c 20 75 73 75 61 6c 6c |lors.wil|l usuall|
|00005070| 79 20 63 6f 6d 65 20 6f | 75 74 20 77 69 74 68 20 |y come o|ut with |
|00005080| 73 6c 69 67 68 74 6c 79 | 20 64 69 66 66 65 72 65 |slightly| differe|
|00005090| 6e 74 20 63 6f 6c 6f 72 | 73 2e 20 20 43 6f 6e 73 |nt color|s. Cons|
|000050a0| 69 64 65 72 69 6e 67 20 | 74 68 65 20 77 68 6f 6c |idering |the whol|
|000050b0| 65 0a 69 6d 61 67 65 2c | 20 65 61 63 68 20 6f 72 |e.image,| each or|
|000050c0| 69 67 69 6e 61 6c 20 63 | 6f 6c 6f 72 20 67 65 74 |iginal c|olor get|
|000050d0| 73 20 22 73 6d 65 61 72 | 65 64 22 20 69 6e 74 6f |s "smear|ed" into|
|000050e0| 20 61 20 67 72 6f 75 70 | 20 6f 66 20 6e 65 61 72 | a group| of near|
|000050f0| 62 79 20 63 6f 6c 6f 72 | 73 2e 0a 54 68 65 72 65 |by color|s..There|
|00005100| 66 6f 72 65 20 71 75 61 | 6e 74 69 7a 61 74 69 6f |fore qua|ntizatio|
|00005110| 6e 20 69 73 20 61 6c 77 | 61 79 73 20 72 65 71 75 |n is alw|ays requ|
|00005120| 69 72 65 64 20 74 6f 20 | 64 69 73 70 6c 61 79 20 |ired to |display |
|00005130| 61 20 63 6f 6c 6f 72 20 | 4a 50 45 47 20 6f 6e 20 |a color |JPEG on |
|00005140| 61 0a 63 6f 6c 6f 72 6d | 61 70 70 65 64 20 64 69 |a.colorm|apped di|
|00005150| 73 70 6c 61 79 2c 20 72 | 65 67 61 72 64 6c 65 73 |splay, r|egardles|
|00005160| 73 20 6f 66 20 74 68 65 | 20 69 6d 61 67 65 20 73 |s of the| image s|
|00005170| 6f 75 72 63 65 2e 0a 0a | 54 68 65 20 73 61 6d 65 |ource...|The same|
|00005180| 20 65 66 66 65 63 74 20 | 6d 61 6b 65 73 20 69 74 | effect |makes it|
|00005190| 20 6e 65 61 72 6c 79 20 | 6d 65 61 6e 69 6e 67 6c | nearly |meaningl|
|000051a0| 65 73 73 20 74 6f 20 74 | 61 6c 6b 20 61 62 6f 75 |ess to t|alk abou|
|000051b0| 74 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 0a |t the nu|mber of.|
|000051c0| 63 6f 6c 6f 72 73 20 75 | 73 65 64 20 62 79 20 61 |colors u|sed by a|
|000051d0| 20 4a 50 45 47 20 69 6d | 61 67 65 2e 20 20 45 76 | JPEG im|age. Ev|
|000051e0| 65 6e 20 69 66 20 79 6f | 75 20 74 72 69 65 64 20 |en if yo|u tried |
|000051f0| 74 6f 20 63 6f 75 6e 74 | 20 74 68 65 20 6e 75 6d |to count| the num|
|00005200| 62 65 72 20 6f 66 0a 64 | 69 73 74 69 6e 63 74 20 |ber of.d|istinct |
|00005210| 70 69 78 65 6c 20 76 61 | 6c 75 65 73 2c 20 64 69 |pixel va|lues, di|
|00005220| 66 66 65 72 65 6e 74 20 | 4a 50 45 47 20 64 65 63 |fferent |JPEG dec|
|00005230| 6f 64 65 72 73 20 77 6f | 75 6c 64 20 67 69 76 65 |oders wo|uld give|
|00005240| 20 79 6f 75 20 64 69 66 | 66 65 72 65 6e 74 0a 72 | you dif|ferent.r|
|00005250| 65 73 75 6c 74 73 20 62 | 65 63 61 75 73 65 20 6f |esults b|ecause o|
|00005260| 66 20 72 6f 75 6e 64 6f | 66 66 20 65 72 72 6f 72 |f roundo|ff error|
|00005270| 20 64 69 66 66 65 72 65 | 6e 63 65 73 2e 20 20 49 | differe|nces. I|
|00005280| 20 6f 63 63 61 73 69 6f | 6e 61 6c 6c 79 20 73 65 | occasio|nally se|
|00005290| 65 20 70 6f 73 74 65 64 | 0a 69 6d 61 67 65 73 20 |e posted|.images |
|000052a0| 64 65 73 63 72 69 62 65 | 64 20 61 73 20 22 32 35 |describe|d as "25|
|000052b0| 36 2d 63 6f 6c 6f 72 20 | 4a 50 45 47 22 2e 20 20 |6-color |JPEG". |
|000052c0| 54 68 69 73 20 74 65 6c | 6c 73 20 6d 65 20 74 68 |This tel|ls me th|
|000052d0| 61 74 20 74 68 65 20 70 | 6f 73 74 65 72 0a 28 61 |at the p|oster.(a|
|000052e0| 29 20 68 61 73 6e 27 74 | 20 72 65 61 64 20 74 68 |) hasn't| read th|
|000052f0| 69 73 20 46 41 51 20 61 | 6e 64 20 28 62 29 20 70 |is FAQ a|nd (b) p|
|00005300| 72 6f 62 61 62 6c 79 20 | 63 6f 6e 76 65 72 74 65 |robably |converte|
|00005310| 64 20 74 68 65 20 4a 50 | 45 47 20 66 72 6f 6d 20 |d the JP|EG from |
|00005320| 61 20 47 49 46 2e 0a 4a | 50 45 47 73 20 63 61 6e |a GIF..J|PEGs can|
|00005330| 20 62 65 20 63 6c 61 73 | 73 69 66 69 65 64 20 61 | be clas|sified a|
|00005340| 73 20 63 6f 6c 6f 72 20 | 6f 72 20 67 72 61 79 2d |s color |or gray-|
|00005350| 73 63 61 6c 65 2c 20 62 | 75 74 20 6e 75 6d 62 65 |scale, b|ut numbe|
|00005360| 72 20 6f 66 20 63 6f 6c | 6f 72 73 20 6a 75 73 74 |r of col|ors just|
|00005370| 0a 69 73 6e 27 74 20 61 | 20 75 73 65 66 75 6c 20 |.isn't a| useful |
|00005380| 63 6f 6e 63 65 70 74 20 | 66 6f 72 20 4a 50 45 47 |concept |for JPEG|
|00005390| 2c 20 61 6e 79 20 6d 6f | 72 65 20 74 68 61 6e 20 |, any mo|re than |
|000053a0| 69 74 20 69 73 20 66 6f | 72 20 61 20 72 65 61 6c |it is fo|r a real|
|000053b0| 20 70 68 6f 74 6f 67 72 | 61 70 68 2e 0a 0a 2d 2d | photogr|aph...--|
|000053c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000053d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 0a 0a 53 75 |--------|----..Su|
|000053e0| 62 6a 65 63 74 3a 20 5b | 39 5d 20 57 68 61 74 20 |bject: [|9] What |
|000053f0| 61 72 65 20 73 6f 6d 65 | 20 72 75 6c 65 73 20 6f |are some| rules o|
|00005400| 66 20 74 68 75 6d 62 20 | 66 6f 72 20 63 6f 6e 76 |f thumb |for conv|
|00005410| 65 72 74 69 6e 67 20 47 | 49 46 20 69 6d 61 67 65 |erting G|IF image|
|00005420| 73 20 74 6f 20 4a 50 45 | 47 3f 0a 0a 43 6f 6e 76 |s to JPE|G?..Conv|
|00005430| 65 72 74 69 6e 67 20 47 | 49 46 20 66 69 6c 65 73 |erting G|IF files|
|00005440| 20 74 6f 20 4a 50 45 47 | 20 69 73 20 61 20 74 72 | to JPEG| is a tr|
|00005450| 69 63 6b 79 20 62 75 73 | 69 6e 65 73 73 20 2d 2d |icky bus|iness --|
|00005460| 2d 20 79 6f 75 20 61 72 | 65 20 70 69 6c 69 6e 67 |- you ar|e piling|
|00005470| 20 6f 6e 65 20 73 65 74 | 0a 6f 66 20 6c 69 6d 69 | one set|.of limi|
|00005480| 74 61 74 69 6f 6e 73 20 | 61 74 6f 70 20 61 20 71 |tations |atop a q|
|00005490| 75 69 74 65 20 64 69 66 | 66 65 72 65 6e 74 20 73 |uite dif|ferent s|
|000054a0| 65 74 2c 20 61 6e 64 20 | 74 68 65 20 72 65 73 75 |et, and |the resu|
|000054b0| 6c 74 73 20 63 61 6e 20 | 62 65 20 61 77 66 75 6c |lts can |be awful|
|000054c0| 2e 0a 43 65 72 74 61 69 | 6e 6c 79 20 61 20 4a 50 |..Certai|nly a JP|
|000054d0| 45 47 20 6d 61 64 65 20 | 66 72 6f 6d 20 61 20 47 |EG made |from a G|
|000054e0| 49 46 20 77 69 6c 6c 20 | 6e 65 76 65 72 20 62 65 |IF will |never be|
|000054f0| 20 61 73 20 67 6f 6f 64 | 20 61 73 20 61 20 4a 50 | as good| as a JP|
|00005500| 45 47 20 6d 61 64 65 20 | 66 72 6f 6d 0a 74 72 75 |EG made |from.tru|
|00005510| 65 20 32 34 2d 62 69 74 | 20 63 6f 6c 6f 72 20 64 |e 24-bit| color d|
|00005520| 61 74 61 2e 20 20 42 75 | 74 20 69 66 20 77 68 61 |ata. Bu|t if wha|
|00005530| 74 20 79 6f 75 27 76 65 | 20 67 6f 74 20 69 73 20 |t you've| got is |
|00005540| 47 49 46 73 2c 20 61 6e | 64 20 79 6f 75 20 6e 65 |GIFs, an|d you ne|
|00005550| 65 64 20 74 6f 0a 73 61 | 76 65 20 73 70 61 63 65 |ed to.sa|ve space|
|00005560| 2c 20 68 65 72 65 20 61 | 72 65 20 73 6f 6d 65 20 |, here a|re some |
|00005570| 68 69 6e 74 73 20 66 6f | 72 20 67 65 74 74 69 6e |hints fo|r gettin|
|00005580| 67 20 74 68 65 20 62 65 | 73 74 20 72 65 73 75 6c |g the be|st resul|
|00005590| 74 73 2e 0a 0a 57 69 74 | 68 20 63 61 72 65 20 61 |ts...Wit|h care a|
|000055a0| 6e 64 20 61 20 63 6c 65 | 61 6e 20 73 6f 75 72 63 |nd a cle|an sourc|
|000055b0| 65 20 69 6d 61 67 65 2c | 20 69 74 27 73 20 6f 66 |e image,| it's of|
|000055c0| 74 65 6e 20 70 6f 73 73 | 69 62 6c 65 20 74 6f 20 |ten poss|ible to |
|000055d0| 6d 61 6b 65 20 61 20 4a | 50 45 47 20 6f 66 0a 71 |make a J|PEG of.q|
|000055e0| 75 61 6c 69 74 79 20 65 | 71 75 69 76 61 6c 65 6e |uality e|quivalen|
|000055f0| 74 20 74 6f 20 74 68 65 | 20 47 49 46 2e 20 20 54 |t to the| GIF. T|
|00005600| 68 69 73 20 64 6f 65 73 | 20 6e 6f 74 20 6d 65 61 |his does| not mea|
|00005610| 6e 20 74 68 61 74 20 74 | 68 65 20 4a 50 45 47 20 |n that t|he JPEG |
|00005620| 6c 6f 6f 6b 73 0a 70 69 | 78 65 6c 2d 66 6f 72 2d |looks.pi|xel-for-|
|00005630| 70 69 78 65 6c 20 69 64 | 65 6e 74 69 63 61 6c 20 |pixel id|entical |
|00005640| 74 6f 20 74 68 65 20 47 | 49 46 20 2d 2d 2d 20 69 |to the G|IF --- i|
|00005650| 74 20 77 6f 6e 27 74 2e | 20 20 45 73 70 65 63 69 |t won't.| Especi|
|00005660| 61 6c 6c 79 20 6e 6f 74 | 20 6f 6e 20 61 6e 0a 38 |ally not| on an.8|
|00005670| 2d 62 69 74 20 64 69 73 | 70 6c 61 79 2c 20 62 65 |-bit dis|play, be|
|00005680| 63 61 75 73 65 20 74 68 | 65 20 63 6f 6c 6f 72 20 |cause th|e color |
|00005690| 71 75 61 6e 74 69 7a 61 | 74 69 6f 6e 20 70 72 6f |quantiza|tion pro|
|000056a0| 63 65 73 73 20 75 73 65 | 64 20 74 6f 20 64 69 73 |cess use|d to dis|
|000056b0| 70 6c 61 79 20 74 68 65 | 0a 4a 50 45 47 20 70 72 |play the|.JPEG pr|
|000056c0| 6f 62 61 62 6c 79 20 77 | 6f 6e 27 74 20 71 75 69 |obably w|on't qui|
|000056d0| 74 65 20 6d 61 74 63 68 | 20 74 68 65 20 71 75 61 |te match| the qua|
|000056e0| 6e 74 69 7a 61 74 69 6f | 6e 20 70 72 6f 63 65 73 |ntizatio|n proces|
|000056f0| 73 20 75 73 65 64 20 74 | 6f 20 6d 61 6b 65 20 74 |s used t|o make t|
|00005700| 68 65 0a 47 49 46 20 66 | 72 6f 6d 20 74 68 65 20 |he.GIF f|rom the |
|00005710| 6f 72 69 67 69 6e 61 6c | 20 64 61 74 61 20 28 73 |original| data (s|
|00005720| 65 65 20 22 5b 38 5d 20 | 57 68 61 74 20 69 73 20 |ee "[8] |What is |
|00005730| 63 6f 6c 6f 72 20 71 75 | 61 6e 74 69 7a 61 74 69 |color qu|antizati|
|00005740| 6f 6e 3f 22 29 2e 20 20 | 42 75 74 0a 72 65 6d 65 |on?"). |But.reme|
|00005750| 6d 62 65 72 20 74 68 61 | 74 20 74 68 65 20 47 49 |mber tha|t the GI|
|00005760| 46 20 69 74 73 65 6c 66 | 20 69 73 20 6e 6f 74 20 |F itself| is not |
|00005770| 61 6c 6c 20 74 68 61 74 | 20 66 61 69 74 68 66 75 |all that| faithfu|
|00005780| 6c 20 74 6f 20 74 68 65 | 20 66 75 6c 6c 2d 63 6f |l to the| full-co|
|00005790| 6c 6f 72 0a 6f 72 69 67 | 69 6e 61 6c 2c 20 69 66 |lor.orig|inal, if|
|000057a0| 20 79 6f 75 20 6c 6f 6f | 6b 20 61 74 20 69 6e 64 | you loo|k at ind|
|000057b0| 69 76 69 64 75 61 6c 20 | 70 69 78 65 6c 73 2e 20 |ividual |pixels. |
|000057c0| 20 4c 6f 6f 6b 69 6e 67 | 20 61 74 20 74 68 65 20 | Looking| at the |
|000057d0| 6f 76 65 72 61 6c 6c 20 | 69 6d 61 67 65 2c 0a 61 |overall |image,.a|
|000057e0| 20 63 6f 6e 76 65 72 74 | 65 64 20 4a 50 45 47 20 | convert|ed JPEG |
|000057f0| 63 61 6e 20 6c 6f 6f 6b | 20 61 73 20 67 6f 6f 64 |can look| as good|
|00005800| 20 61 73 20 69 74 73 20 | 47 49 46 20 73 6f 75 72 | as its |GIF sour|
|00005810| 63 65 2e 20 20 53 6f 6d | 65 20 70 65 6f 70 6c 65 |ce. Som|e people|
|00005820| 20 63 6c 61 69 6d 20 74 | 68 61 74 0a 6f 6e 20 32 | claim t|hat.on 2|
|00005830| 34 2d 62 69 74 20 64 69 | 73 70 6c 61 79 73 2c 20 |4-bit di|splays, |
|00005840| 61 20 63 61 72 65 66 75 | 6c 6c 79 20 63 6f 6e 76 |a carefu|lly conv|
|00005850| 65 72 74 65 64 20 4a 50 | 45 47 20 63 61 6e 20 61 |erted JP|EG can a|
|00005860| 63 74 75 61 6c 6c 79 20 | 6c 6f 6f 6b 20 62 65 74 |ctually |look bet|
|00005870| 74 65 72 20 74 68 61 6e | 0a 74 68 65 20 47 49 46 |ter than|.the GIF|
|00005880| 20 73 6f 75 72 63 65 2c | 20 62 65 63 61 75 73 65 | source,| because|
|00005890| 20 64 69 74 68 65 72 20 | 70 61 74 74 65 72 6e 73 | dither |patterns|
|000058a0| 20 68 61 76 65 20 62 65 | 65 6e 20 65 6c 69 6d 69 | have be|en elimi|
|000058b0| 6e 61 74 65 64 2e 20 20 | 28 4d 6f 72 65 20 61 62 |nated. |(More ab|
|000058c0| 6f 75 74 0a 64 69 74 68 | 65 72 69 6e 67 20 69 6e |out.dith|ering in|
|000058d0| 20 61 20 6d 6f 6d 65 6e | 74 2e 29 0a 0a 4f 6e 20 | a momen|t.)..On |
|000058e0| 74 68 65 20 6f 74 68 65 | 72 20 68 61 6e 64 2c 20 |the othe|r hand, |
|000058f0| 4a 50 45 47 20 63 6f 6e | 76 65 72 73 69 6f 6e 20 |JPEG con|version |
|00005900| 61 62 73 6f 6c 75 74 65 | 6c 79 20 2a 77 69 6c 6c |absolute|ly *will|
|00005910| 2a 20 64 65 67 72 61 64 | 65 20 61 6e 20 75 6e 73 |* degrad|e an uns|
|00005920| 75 69 74 61 62 6c 65 0a | 69 6d 61 67 65 20 6f 72 |uitable.|image or|
|00005930| 20 6f 6e 65 20 74 68 61 | 74 20 69 73 20 63 6f 6e | one tha|t is con|
|00005940| 76 65 72 74 65 64 20 63 | 61 72 65 6c 65 73 73 6c |verted c|arelessl|
|00005950| 79 2e 20 20 49 66 20 79 | 6f 75 20 61 72 65 20 6e |y. If y|ou are n|
|00005960| 6f 74 20 77 69 6c 6c 69 | 6e 67 20 74 6f 20 74 61 |ot willi|ng to ta|
|00005970| 6b 65 0a 74 68 65 20 61 | 6d 6f 75 6e 74 20 6f 66 |ke.the a|mount of|
|00005980| 20 74 72 6f 75 62 6c 65 | 20 73 75 67 67 65 73 74 | trouble| suggest|
|00005990| 65 64 20 62 65 6c 6f 77 | 2c 20 79 6f 75 27 72 65 |ed below|, you're|
|000059a0| 20 6d 75 63 68 20 62 65 | 74 74 65 72 20 6f 66 66 | much be|tter off|
|000059b0| 20 6c 65 61 76 69 6e 67 | 20 79 6f 75 72 0a 47 49 | leaving| your.GI|
|000059c0| 46 20 69 6d 61 67 65 73 | 20 61 6c 6f 6e 65 2e 20 |F images| alone. |
|000059d0| 20 53 69 6d 70 6c 79 20 | 63 72 61 6e 6b 69 6e 67 | Simply |cranking|
|000059e0| 20 74 68 65 20 4a 50 45 | 47 20 71 75 61 6c 69 74 | the JPE|G qualit|
|000059f0| 79 20 73 65 74 74 69 6e | 67 20 75 70 20 74 6f 20 |y settin|g up to |
|00005a00| 61 20 76 65 72 79 0a 68 | 69 67 68 20 76 61 6c 75 |a very.h|igh valu|
|00005a10| 65 20 77 61 73 74 65 73 | 20 73 70 61 63 65 20 28 |e wastes| space (|
|00005a20| 77 68 69 63 68 20 64 65 | 66 65 61 74 73 20 74 68 |which de|feats th|
|00005a30| 65 20 77 68 6f 6c 65 20 | 70 6f 69 6e 74 20 6f 66 |e whole |point of|
|00005a40| 20 74 68 65 20 65 78 65 | 72 63 69 73 65 2c 20 6e | the exe|rcise, n|
|00005a50| 6f 3f 29 0a 61 6e 64 20 | 73 6f 6d 65 20 69 6d 61 |o?).and |some ima|
|00005a60| 67 65 73 20 77 69 6c 6c | 20 62 65 20 64 65 67 72 |ges will| be degr|
|00005a70| 61 64 65 64 20 61 6e 79 | 77 61 79 2e 0a 0a 54 68 |aded any|way...Th|
|00005a80| 65 20 66 69 72 73 74 20 | 72 75 6c 65 20 69 73 20 |e first |rule is |
|00005a90| 6e 65 76 65 72 20 74 6f | 20 63 6f 6e 76 65 72 74 |never to| convert|
|00005aa0| 20 61 6e 20 69 6d 61 67 | 65 20 74 68 61 74 27 73 | an imag|e that's|
|00005ab0| 20 6e 6f 74 20 61 70 70 | 72 6f 70 72 69 61 74 65 | not app|ropriate|
|00005ac0| 20 66 6f 72 20 4a 50 45 | 47 0a 28 73 65 65 20 22 | for JPE|G.(see "|
|00005ad0| 5b 33 5d 20 57 68 65 6e | 20 73 68 6f 75 6c 64 20 |[3] When| should |
|00005ae0| 49 20 75 73 65 20 4a 50 | 45 47 2c 20 61 6e 64 20 |I use JP|EG, and |
|00005af0| 77 68 65 6e 20 73 68 6f | 75 6c 64 20 49 20 73 74 |when sho|uld I st|
|00005b00| 69 63 6b 20 77 69 74 68 | 20 47 49 46 3f 22 29 2e |ick with| GIF?").|
|00005b10| 0a 4c 61 72 67 65 2c 20 | 68 69 67 68 2d 76 69 73 |.Large, |high-vis|
|00005b20| 75 61 6c 2d 71 75 61 6c | 69 74 79 20 70 68 6f 74 |ual-qual|ity phot|
|00005b30| 6f 67 72 61 70 68 69 63 | 20 69 6d 61 67 65 73 20 |ographic| images |
|00005b40| 61 72 65 20 75 73 75 61 | 6c 6c 79 20 74 68 65 20 |are usua|lly the |
|00005b50| 62 65 73 74 20 73 6f 75 | 72 63 65 0a 6d 61 74 65 |best sou|rce.mate|
|00005b60| 72 69 61 6c 2e 20 20 41 | 6e 64 20 74 68 65 79 20 |rial. A|nd they |
|00005b70| 74 61 6b 65 20 75 70 20 | 6c 6f 74 73 20 6f 66 20 |take up |lots of |
|00005b80| 73 70 61 63 65 20 69 6e | 20 47 49 46 20 66 6f 72 |space in| GIF for|
|00005b90| 6d 2c 20 73 6f 20 74 68 | 65 79 20 6f 66 66 65 72 |m, so th|ey offer|
|00005ba0| 0a 73 69 67 6e 69 66 69 | 63 61 6e 74 20 70 6f 74 |.signifi|cant pot|
|00005bb0| 65 6e 74 69 61 6c 20 73 | 70 61 63 65 20 73 61 76 |ential s|pace sav|
|00005bc0| 69 6e 67 73 2e 20 20 28 | 41 20 67 6f 6f 64 20 72 |ings. (|A good r|
|00005bd0| 75 6c 65 20 6f 66 20 74 | 68 75 6d 62 20 69 73 20 |ule of t|humb is |
|00005be0| 6e 6f 74 20 74 6f 20 62 | 6f 74 68 65 72 0a 63 6f |not to b|other.co|
|00005bf0| 6e 76 65 72 74 69 6e 67 | 20 61 6e 79 20 47 49 46 |nverting| any GIF|
|00005c00| 20 74 68 61 74 27 73 20 | 6d 75 63 68 20 75 6e 64 | that's |much und|
|00005c10| 65 72 20 31 30 30 20 4b | 62 79 74 65 73 3b 20 74 |er 100 K|bytes; t|
|00005c20| 68 65 20 70 6f 74 65 6e | 74 69 61 6c 20 73 61 76 |he poten|tial sav|
|00005c30| 69 6e 67 73 20 69 73 6e | 27 74 0a 77 6f 72 74 68 |ings isn|'t.worth|
|00005c40| 20 74 68 65 20 68 61 73 | 73 6c 65 2e 29 0a 0a 54 | the has|sle.)..T|
|00005c50| 68 65 20 73 65 63 6f 6e | 64 20 72 75 6c 65 20 69 |he secon|d rule i|
|00005c60| 73 20 74 6f 20 6c 6f 6f | 6b 20 61 74 20 65 61 63 |s to loo|k at eac|
|00005c70| 68 20 4a 50 45 47 2c 20 | 74 6f 20 6d 61 6b 65 20 |h JPEG, |to make |
|00005c80| 73 75 72 65 20 79 6f 75 | 20 61 72 65 20 68 61 70 |sure you| are hap|
|00005c90| 70 79 20 77 69 74 68 20 | 69 74 2c 0a 62 65 66 6f |py with |it,.befo|
|00005ca0| 72 65 20 74 68 72 6f 77 | 69 6e 67 20 61 77 61 79 |re throw|ing away|
|00005cb0| 20 74 68 65 20 63 6f 72 | 72 65 73 70 6f 6e 64 69 | the cor|respondi|
|00005cc0| 6e 67 20 47 49 46 2e 20 | 20 54 68 69 73 20 77 69 |ng GIF. | This wi|
|00005cd0| 6c 6c 20 67 69 76 65 20 | 79 6f 75 20 61 20 63 68 |ll give |you a ch|
|00005ce0| 61 6e 63 65 20 74 6f 0a | 72 65 2d 64 6f 20 74 68 |ance to.|re-do th|
|00005cf0| 65 20 63 6f 6e 76 65 72 | 73 69 6f 6e 20 77 69 74 |e conver|sion wit|
|00005d00| 68 20 61 20 68 69 67 68 | 65 72 20 71 75 61 6c 69 |h a high|er quali|
|00005d10| 74 79 20 73 65 74 74 69 | 6e 67 20 69 66 20 6e 65 |ty setti|ng if ne|
|00005d20| 63 65 73 73 61 72 79 2e | 20 20 41 6c 73 6f 0a 63 |cessary.| Also.c|
|00005d30| 6f 6d 70 61 72 65 20 74 | 68 65 20 66 69 6c 65 20 |ompare t|he file |
|00005d40| 73 69 7a 65 73 20 2d 2d | 2d 20 69 66 20 74 68 65 |sizes --|- if the|
|00005d50| 20 69 6d 61 67 65 20 69 | 73 6e 27 74 20 73 75 69 | image i|sn't sui|
|00005d60| 74 61 62 6c 65 20 4a 50 | 45 47 20 6d 61 74 65 72 |table JP|EG mater|
|00005d70| 69 61 6c 2c 20 61 20 4a | 50 45 47 0a 66 69 6c 65 |ial, a J|PEG.file|
|00005d80| 20 6f 66 20 72 65 61 73 | 6f 6e 61 62 6c 65 20 71 | of reas|onable q|
|00005d90| 75 61 6c 69 74 79 20 6d | 61 79 20 63 6f 6d 65 20 |uality m|ay come |
|00005da0| 6f 75 74 20 2a 6c 61 72 | 67 65 72 2a 20 74 68 61 |out *lar|ger* tha|
|00005db0| 6e 20 74 68 65 20 47 49 | 46 2e 0a 0a 54 68 65 20 |n the GI|F...The |
|00005dc0| 74 68 69 72 64 20 72 75 | 6c 65 20 69 73 20 74 6f |third ru|le is to|
|00005dd0| 20 67 65 74 20 72 69 64 | 20 6f 66 20 74 68 65 20 | get rid| of the |
|00005de0| 62 6f 72 64 65 72 2e 20 | 20 4d 61 6e 79 20 70 65 |border. | Many pe|
|00005df0| 6f 70 6c 65 20 68 61 76 | 65 20 64 65 76 65 6c 6f |ople hav|e develo|
|00005e00| 70 65 64 0a 61 6e 20 6f | 64 64 20 68 61 62 69 74 |ped.an o|dd habit|
|00005e10| 20 6f 66 20 70 75 74 74 | 69 6e 67 20 61 20 6c 61 | of putt|ing a la|
|00005e20| 72 67 65 20 73 69 6e 67 | 6c 65 2d 63 6f 6c 6f 72 |rge sing|le-color|
|00005e30| 20 62 6f 72 64 65 72 20 | 61 72 6f 75 6e 64 20 61 | border |around a|
|00005e40| 20 47 49 46 20 69 6d 61 | 67 65 2e 0a 57 68 69 6c | GIF ima|ge..Whil|
|00005e50| 65 20 75 73 65 6c 65 73 | 73 2c 20 74 68 69 73 20 |e useles|s, this |
|00005e60| 69 73 20 6e 65 61 72 6c | 79 20 66 72 65 65 20 69 |is nearl|y free i|
|00005e70| 6e 20 74 65 72 6d 73 20 | 6f 66 20 73 74 6f 72 61 |n terms |of stora|
|00005e80| 67 65 20 63 6f 73 74 20 | 69 6e 20 47 49 46 20 66 |ge cost |in GIF f|
|00005e90| 69 6c 65 73 2e 0a 49 74 | 20 69 73 20 2a 6e 6f 74 |iles..It| is *not|
|00005ea0| 2a 20 66 72 65 65 20 69 | 6e 20 4a 50 45 47 20 66 |* free i|n JPEG f|
|00005eb0| 69 6c 65 73 2c 20 65 69 | 74 68 65 72 20 69 6e 20 |iles, ei|ther in |
|00005ec0| 73 74 6f 72 61 67 65 20 | 73 70 61 63 65 20 6f 72 |storage |space or|
|00005ed0| 20 69 6e 20 64 65 63 6f | 64 69 6e 67 20 74 69 6d | in deco|ding tim|
|00005ee0| 65 2e 0a 57 6f 72 73 65 | 2c 20 74 68 65 20 73 68 |e..Worse|, the sh|
|00005ef0| 61 72 70 20 62 6f 72 64 | 65 72 20 62 6f 75 6e 64 |arp bord|er bound|
|00005f00| 61 72 79 20 63 61 6e 20 | 63 72 65 61 74 65 20 76 |ary can |create v|
|00005f10| 69 73 69 62 6c 65 20 61 | 72 74 69 66 61 63 74 73 |isible a|rtifacts|
|00005f20| 20 28 22 67 68 6f 73 74 | 22 20 65 64 67 65 73 29 | ("ghost|" edges)|
|00005f30| 2e 0a 46 75 72 74 68 65 | 72 6d 6f 72 65 2c 20 77 |..Furthe|rmore, w|
|00005f40| 68 65 6e 20 76 69 65 77 | 69 6e 67 20 61 20 62 6f |hen view|ing a bo|
|00005f50| 72 64 65 72 65 64 20 4a | 50 45 47 20 6f 6e 20 61 |rdered J|PEG on a|
|00005f60| 6e 20 38 2d 62 69 74 20 | 64 69 73 70 6c 61 79 2c |n 8-bit |display,|
|00005f70| 20 74 68 65 20 71 75 61 | 6e 74 69 7a 65 72 0a 77 | the qua|ntizer.w|
|00005f80| 69 6c 6c 20 74 68 69 6e | 6b 20 74 68 65 20 62 6f |ill thin|k the bo|
|00005f90| 72 64 65 72 20 63 6f 6c | 6f 72 20 69 73 20 69 6d |rder col|or is im|
|00005fa0| 70 6f 72 74 61 6e 74 20 | 62 65 63 61 75 73 65 20 |portant |because |
|00005fb0| 74 68 65 72 65 27 73 20 | 73 6f 20 6d 75 63 68 20 |there's |so much |
|00005fc0| 6f 66 20 69 74 2c 20 61 | 6e 64 0a 68 65 6e 63 65 |of it, a|nd.hence|
|00005fd0| 20 77 69 6c 6c 20 77 61 | 73 74 65 20 63 6f 6c 6f | will wa|ste colo|
|00005fe0| 72 20 70 61 6c 65 74 74 | 65 20 65 6e 74 72 69 65 |r palett|e entrie|
|00005ff0| 73 20 6f 6e 20 74 68 65 | 20 62 6f 72 64 65 72 2c |s on the| border,|
|00006000| 20 74 68 75 73 20 61 63 | 74 75 61 6c 6c 79 20 72 | thus ac|tually r|
|00006010| 65 64 75 63 69 6e 67 0a | 74 68 65 20 64 69 73 70 |educing.|the disp|
|00006020| 6c 61 79 65 64 20 71 75 | 61 6c 69 74 79 20 6f 66 |layed qu|ality of|
|00006030| 20 74 68 65 20 6d 61 69 | 6e 20 70 61 72 74 20 6f | the mai|n part o|
|00006040| 66 20 74 68 65 20 69 6d | 61 67 65 21 20 20 53 6f |f the im|age! So|
|00006050| 20 64 6f 20 79 6f 75 72 | 73 65 6c 66 20 61 20 66 | do your|self a f|
|00006060| 61 76 6f 72 0a 61 6e 64 | 20 63 72 6f 70 20 6f 66 |avor.and| crop of|
|00006070| 66 20 61 6e 79 20 62 6f | 72 64 65 72 20 62 65 66 |f any bo|rder bef|
|00006080| 6f 72 65 20 4a 50 45 47 | 69 6e 67 2e 0a 0a 54 68 |ore JPEG|ing...Th|
|00006090| 65 20 66 6f 75 72 74 68 | 20 72 75 6c 65 20 69 73 |e fourth| rule is|
|000060a0| 20 74 6f 20 6b 6e 6f 77 | 20 77 68 65 72 65 20 74 | to know| where t|
|000060b0| 68 65 20 69 6d 61 67 65 | 20 63 61 6d 65 20 66 72 |he image| came fr|
|000060c0| 6f 6d 2e 20 20 52 65 70 | 65 61 74 65 64 20 47 49 |om. Rep|eated GI|
|000060d0| 46 3c 3d 3e 4a 50 45 47 | 0a 63 6f 6e 76 65 72 73 |F<=>JPEG|.convers|
|000060e0| 69 6f 6e 73 20 61 72 65 | 20 67 75 61 72 61 6e 74 |ions are| guarant|
|000060f0| 65 65 64 20 74 6f 20 74 | 75 72 6e 20 61 6e 20 69 |eed to t|urn an i|
|00006100| 6d 61 67 65 20 69 6e 74 | 6f 20 6d 75 73 68 2c 20 |mage int|o mush, |
|00006110| 62 65 63 61 75 73 65 20 | 79 6f 75 20 70 61 79 20 |because |you pay |
|00006120| 61 0a 71 75 61 6c 69 74 | 79 2d 6c 6f 73 73 20 70 |a.qualit|y-loss p|
|00006130| 72 69 63 65 20 6f 6e 20 | 65 61 63 68 20 72 6f 75 |rice on |each rou|
|00006140| 6e 64 20 74 72 69 70 2e | 20 20 44 6f 6e 27 74 20 |nd trip.| Don't |
|00006150| 72 65 63 6f 6e 76 65 72 | 74 20 69 6d 61 67 65 73 |reconver|t images|
|00006160| 20 74 68 61 74 20 68 61 | 76 65 0a 62 65 65 6e 20 | that ha|ve.been |
|00006170| 63 6f 6e 76 65 72 74 65 | 64 20 62 65 66 6f 72 65 |converte|d before|
|00006180| 2e 0a 0a 47 72 61 79 2d | 73 63 61 6c 65 20 69 6d |...Gray-|scale im|
|00006190| 61 67 65 73 20 75 73 75 | 61 6c 6c 79 20 63 6f 6e |ages usu|ally con|
|000061a0| 76 65 72 74 20 77 69 74 | 68 6f 75 74 20 6d 75 63 |vert wit|hout muc|
|000061b0| 68 20 70 72 6f 62 6c 65 | 6d 2e 20 20 57 68 65 6e |h proble|m. When|
|000061c0| 20 75 73 69 6e 67 20 63 | 6a 70 65 67 2c 0a 62 65 | using c|jpeg,.be|
|000061d0| 20 73 75 72 65 20 74 6f | 20 75 73 65 20 74 68 65 | sure to| use the|
|000061e0| 20 2d 67 72 61 79 20 73 | 77 69 74 63 68 2e 20 20 | -gray s|witch. |
|000061f0| 28 4f 74 68 65 72 77 69 | 73 65 2c 20 63 6a 70 65 |(Otherwi|se, cjpe|
|00006200| 67 20 74 72 65 61 74 73 | 20 61 20 47 49 46 20 61 |g treats| a GIF a|
|00006210| 73 20 63 6f 6c 6f 72 0a | 64 61 74 61 3b 20 74 68 |s color.|data; th|
|00006220| 69 73 20 77 6f 72 6b 73 | 2c 20 62 75 74 20 69 74 |is works|, but it|
|00006230| 20 77 61 73 74 65 73 20 | 73 70 61 63 65 20 61 6e | wastes |space an|
|00006240| 64 20 74 69 6d 65 20 69 | 66 20 74 68 65 20 69 6d |d time i|f the im|
|00006250| 61 67 65 20 69 73 20 72 | 65 61 6c 6c 79 20 6f 6e |age is r|eally on|
|00006260| 6c 79 0a 67 72 61 79 2d | 73 63 61 6c 65 2e 29 20 |ly.gray-|scale.) |
|00006270| 20 51 75 61 6c 69 74 79 | 20 73 65 74 74 69 6e 67 | Quality| setting|
|00006280| 73 20 61 72 6f 75 6e 64 | 20 74 68 65 20 64 65 66 |s around| the def|
|00006290| 61 75 6c 74 20 28 37 35 | 29 20 61 72 65 20 75 73 |ault (75|) are us|
|000062a0| 75 61 6c 6c 79 20 66 69 | 6e 65 2e 0a 0a 43 6f 6c |ually fi|ne...Col|
|000062b0| 6f 72 20 69 6d 61 67 65 | 73 20 61 72 65 20 6d 75 |or image|s are mu|
|000062c0| 63 68 20 74 72 69 63 6b | 69 65 72 2e 20 20 43 6f |ch trick|ier. Co|
|000062d0| 6c 6f 72 20 47 49 46 73 | 20 6f 66 20 70 68 6f 74 |lor GIFs| of phot|
|000062e0| 6f 67 72 61 70 68 69 63 | 20 69 6d 61 67 65 73 20 |ographic| images |
|000062f0| 61 72 65 0a 75 73 75 61 | 6c 6c 79 20 22 64 69 74 |are.usua|lly "dit|
|00006300| 68 65 72 65 64 22 20 74 | 6f 20 66 6f 6f 6c 20 79 |hered" t|o fool y|
|00006310| 6f 75 72 20 65 79 65 20 | 69 6e 74 6f 20 73 65 65 |our eye |into see|
|00006320| 69 6e 67 20 6d 6f 72 65 | 20 74 68 61 6e 20 74 68 |ing more| than th|
|00006330| 65 20 32 35 36 20 63 6f | 6c 6f 72 73 0a 74 68 61 |e 256 co|lors.tha|
|00006340| 74 20 47 49 46 20 63 61 | 6e 20 61 63 74 75 61 6c |t GIF ca|n actual|
|00006350| 6c 79 20 73 74 6f 72 65 | 2e 20 20 49 66 20 79 6f |ly store|. If yo|
|00006360| 75 20 65 6e 6c 61 72 67 | 65 20 74 68 65 20 69 6d |u enlarg|e the im|
|00006370| 61 67 65 2c 20 79 6f 75 | 20 77 69 6c 6c 20 66 69 |age, you| will fi|
|00006380| 6e 64 20 74 68 61 74 0a | 61 64 6a 61 63 65 6e 74 |nd that.|adjacent|
|00006390| 20 70 69 78 65 6c 73 20 | 61 72 65 20 6f 66 74 65 | pixels |are ofte|
|000063a0| 6e 20 6f 66 20 73 69 67 | 6e 69 66 69 63 61 6e 74 |n of sig|nificant|
|000063b0| 6c 79 20 64 69 66 66 65 | 72 65 6e 74 20 63 6f 6c |ly diffe|rent col|
|000063c0| 6f 72 73 3b 20 61 74 20 | 6e 6f 72 6d 61 6c 20 73 |ors; at |normal s|
|000063d0| 69 7a 65 0a 74 68 65 20 | 65 79 65 20 61 76 65 72 |ize.the |eye aver|
|000063e0| 61 67 65 73 20 74 68 65 | 73 65 20 70 69 78 65 6c |ages the|se pixel|
|000063f0| 73 20 74 6f 67 65 74 68 | 65 72 20 74 6f 20 70 72 |s togeth|er to pr|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.